Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.778/2.778, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9039, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001911/0.9058, allocations: 1.263 MB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.9073, allocations: 1.258 MB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.9073, allocations: 0 / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.9073, allocations: 7.375 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005929/0.9079, allocations: 206 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.888e-05/0.908, allocations: 38.38 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.9081, allocations: 16.25 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.9081, allocations: 0 / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.9081, allocations: 17.8 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2363/1.144, allocations: 30.98 MB / 1.354 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/1.144, allocations: 1.375 kB / 1.354 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/1.144, allocations: 4 kB / 1.354 GB, free: 8.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/1.145, allocations: 6.031 kB / 1.354 GB, free: 8.508 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/1.145, allocations: 11.56 kB / 1.354 GB, free: 8.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/1.145, allocations: 7.547 kB / 1.354 GB, free: 8.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.145, allocations: 0 / 1.354 GB, free: 8.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.535e-06/1.145, allocations: 0 / 1.354 GB, free: 8.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.142e-06/1.145, allocations: 0 / 1.354 GB, free: 8.5 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002769/1.145, allocations: 325.5 kB / 1.355 GB, free: 8.145 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.145, allocations: 14.8 kB / 1.355 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.914e-05/1.145, allocations: 80.27 kB / 1.355 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/1.145, allocations: 106 kB / 1.355 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/1.145, allocations: 81.53 kB / 1.355 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/1.145, allocations: 238.6 kB / 1.355 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.145, allocations: 152.2 kB / 1.355 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/1.145, allocations: 154.7 kB / 1.356 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.311e-05/1.145, allocations: 109.7 kB / 1.356 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.145, allocations: 76.59 kB / 1.356 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/1.145, allocations: 154.6 kB / 1.356 GB, free: 6.961 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/1.145, allocations: 152.5 kB / 1.356 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/1.145, allocations: 150.6 kB / 1.356 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/1.146, allocations: 451.3 kB / 1.357 GB, free: 6.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/1.146, allocations: 173.1 kB / 1.357 GB, free: 6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/1.146, allocations: 86.12 kB / 1.357 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.146, allocations: 75.28 kB / 1.357 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.146, allocations: 111.8 kB / 1.357 GB, free: 5.723 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.146, allocations: 0 / 1.357 GB, free: 5.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.615e-05/1.146, allocations: 29.08 kB / 1.357 GB, free: 5.691 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.146, allocations: 216.5 kB / 1.357 GB, free: 5.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/1.146, allocations: 95.22 kB / 1.357 GB, free: 5.352 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/1.146, allocations: 31.64 kB / 1.357 GB, free: 5.316 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/1.146, allocations: 81.58 kB / 1.357 GB, free: 5.234 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.146, allocations: 0 / 1.357 GB, free: 5.234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/1.146, allocations: 18.02 kB / 1.358 GB, free: 5.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.328e-05/1.146, allocations: 316.9 kB / 1.358 GB, free: 4.898 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/1.146, allocations: 0 / 1.358 GB, free: 4.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/1.147, allocations: 19.81 kB / 1.358 GB, free: 4.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.417e-05/1.147, allocations: 76.03 kB / 1.358 GB, free: 4.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/1.147, allocations: 76.66 kB / 1.358 GB, free: 4.727 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.371e-05/1.147, allocations: 36.92 kB / 1.358 GB, free: 4.688 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.147, allocations: 85.25 kB / 1.358 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.147, allocations: 83.3 kB / 1.358 GB, free: 4.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/1.147, allocations: 156.5 kB / 1.358 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-05/1.147, allocations: 85.3 kB / 1.358 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/1.147, allocations: 152.7 kB / 1.359 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/1.147, allocations: 79.52 kB / 1.359 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.147, allocations: 83.22 kB / 1.359 GB, free: 3.988 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/1.147, allocations: 264.4 kB / 1.359 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/1.147, allocations: 108.1 kB / 1.359 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/1.147, allocations: 110.2 kB / 1.359 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/1.147, allocations: 177.1 kB / 1.359 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.147, allocations: 186.1 kB / 1.36 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.147, allocations: 182.8 kB / 1.36 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/1.147, allocations: 402.6 kB / 1.36 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.147, allocations: 106.2 kB / 1.36 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/1.147, allocations: 102.6 kB / 1.36 GB, free: 2.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.619e-05/1.147, allocations: 182.1 kB / 1.36 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.147, allocations: 186.2 kB / 1.361 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-05/1.147, allocations: 178.5 kB / 1.361 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-05/1.147, allocations: 181 kB / 1.361 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.528e-05/1.147, allocations: 318.8 kB / 1.361 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/1.147, allocations: 184.9 kB / 1.361 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/1.147, allocations: 178 kB / 1.362 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/1.148, allocations: 109.2 kB / 1.362 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/1.148, allocations: 179 kB / 1.362 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/1.148, allocations: 110.1 kB / 1.362 GB, free: 452 kB / 1.061 GB Notification: Performance of sorting global known variables: time 2.59e-05/1.148, allocations: 83.59 kB / 1.362 GB, free: 372 kB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.148, allocations: 4 kB / 1.362 GB, free: 368 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002552/1.148, allocations: 2.469 kB / 1.362 GB, free: 368 kB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004018/1.148, allocations: 0.8087 MB / 1.363 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.46e-05/1.148, allocations: 7.391 kB / 1.363 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.148, allocations: 4 kB / 1.363 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/1.148, allocations: 1.5 kB / 1.363 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/1.149, allocations: 459.2 kB / 1.363 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/1.149, allocations: 192.1 kB / 1.363 GB, free: 14.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.149, allocations: 0.6717 MB / 1.364 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.623e-05/1.149, allocations: 7.031 kB / 1.364 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/1.15, allocations: 8.812 kB / 1.364 GB, free: 14.17 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.15, allocations: 0 / 1.364 GB, free: 14.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/1.17, allocations: 1.305 MB / 1.365 GB, free: 13.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/9.041, allocations: 6.797 kB / 1.365 GB, free: 13.68 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.239447099040262]