Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001334/0.001334, allocations: 116.8 kB / 17.17 MB, free: 6 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.00133/0.00133, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001962/0.001962, allocations: 64.17 kB / 1.165 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8622, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002759/0.865, allocations: 1.894 MB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.8685, allocations: 3.667 MB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.8686, allocations: 5 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.8693, allocations: 180.1 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.8695, allocations: 67.62 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.8696, allocations: 56.66 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.87, allocations: 273.8 kB / 1.346 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.8701, allocations: 21.72 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.8702, allocations: 80.34 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.8703, allocations: 76.27 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.8704, allocations: 10.98 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.8705, allocations: 34.09 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.8705, allocations: 56.02 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.8706, allocations: 85.3 kB / 1.346 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.8708, allocations: 201 kB / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8708, allocations: 0 / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8708, allocations: 0 / 1.347 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8709, allocations: 0.6562 kB / 1.347 GB, free: 11.77 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007108/0.8716, allocations: 0.5415 MB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.8716, allocations: 9.625 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.8716, allocations: 1.562 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.8716, allocations: 35.56 kB / 1.347 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.8725, allocations: 120.5 kB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.873, allocations: 270.2 kB / 1.348 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.873, allocations: 7.125 kB / 1.348 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.8731, allocations: 7.672 kB / 1.348 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.8734, allocations: 148.5 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8734, allocations: 0 / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.8735, allocations: 5.5 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.8735, allocations: 13.69 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.874, allocations: 147 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.8746, allocations: 474 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.8751, allocations: 167 kB / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.8753, allocations: 107.7 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.8753, allocations: 2.812 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.8754, allocations: 32.42 kB / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.8754, allocations: 0 / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009014/0.8763, allocations: 315 kB / 1.349 GB, free: 10.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.8763, allocations: 52.59 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.8765, allocations: 244.8 kB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.8765, allocations: 25.7 kB / 1.349 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.8766, allocations: 137 kB / 1.349 GB, free: 9.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.8766, allocations: 48.86 kB / 1.349 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.8767, allocations: 29.42 kB / 1.349 GB, free: 9.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.8767, allocations: 348.4 kB / 1.35 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.877, allocations: 74.23 kB / 1.35 GB, free: 9.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.8772, allocations: 78.19 kB / 1.35 GB, free: 9.496 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.8776, allocations: 176.6 kB / 1.35 GB, free: 9.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8777, allocations: 0 / 1.35 GB, free: 9.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005503/0.8782, allocations: 234.5 kB / 1.35 GB, free: 9.348 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.8782, allocations: 8.75 kB / 1.35 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8782, allocations: 0.7031 kB / 1.35 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.8782, allocations: 5.172 kB / 1.35 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.8785, allocations: 35.06 kB / 1.35 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.8785, allocations: 0 / 1.35 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.8787, allocations: 22.16 kB / 1.35 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.8788, allocations: 9.359 kB / 1.35 GB, free: 9.328 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 (13): * Single equations (assignments): 13 * 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 0.0001111/0.8789, allocations: 141 kB / 1.351 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.8789, allocations: 22.52 kB / 1.351 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.879, allocations: 31.5 kB / 1.351 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.879, allocations: 2.922 kB / 1.351 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.879, allocations: 0 / 1.351 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.879, allocations: 8.531 kB / 1.351 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.8793, allocations: 277.2 kB / 1.351 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8793, allocations: 1.25 kB / 1.351 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.8796, allocations: 34.27 kB / 1.351 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8796, allocations: 6 kB / 1.351 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.8796, allocations: 6.25 kB / 1.351 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8796, allocations: 2 kB / 1.351 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8796, allocations: 0 / 1.351 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.8801, allocations: 329.3 kB / 1.351 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.8802, allocations: 114.5 kB / 1.351 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.8803, allocations: 1.625 kB / 1.351 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.8805, allocations: 12.36 kB / 1.351 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.8805, allocations: 13.5 kB / 1.351 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.8805, allocations: 7.766 kB / 1.351 GB, free: 8.602 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001349/0.8807, allocations: 183 kB / 1.352 GB, free: 8.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8807, allocations: 0 / 1.352 GB, free: 8.496 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002682/0.8809, allocations: 40.41 kB / 1.352 GB, free: 8.488 MB / 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 (13): * Single equations (assignments): 13 * 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.0007323/0.8817, allocations: 0.8712 MB / 1.352 GB, free: 7.762 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.8822, allocations: 177.5 kB / 1.353 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8822, allocations: 0 / 1.353 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.8825, allocations: 95.39 kB / 1.353 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.8829, allocations: 53.58 kB / 1.353 GB, free: 7.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.8859, allocations: 2.405 MB / 1.355 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.8861, allocations: 0.7453 MB / 1.356 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.8863, allocations: 62.5 kB / 1.356 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.8864, allocations: 64.69 kB / 1.356 GB, free: 5.328 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.8864, allocations: 5.062 kB / 1.356 GB, free: 5.324 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.9082, allocations: 4.848 MB / 1.361 GB, free: 4.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.81, allocations: 12.69 kB / 1.361 GB, free: 4.727 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.074517376022413]