Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.001771/0.001771, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002247/0.002247, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.738 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 3.367/3.367, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",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.002955/0.002955, allocations: 73.48 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4649, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003637/0.4685, allocations: 1.672 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4699, allocations: 0.648 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.47, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.4706, allocations: 182.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005968/0.4712, allocations: 203.3 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.4718, allocations: 199.5 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.4721, allocations: 219.4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.4723, allocations: 30.02 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4725, allocations: 87.72 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.4727, allocations: 179.4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.4728, allocations: 12 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.4729, allocations: 36 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.473, allocations: 83.73 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.806e-05/0.4731, allocations: 67.42 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.4736, allocations: 294.6 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4736, allocations: 3.938 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4736, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4736, allocations: 4 kB / 1.367 GB, free: 10.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009694/0.4746, allocations: 0.5237 MB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4746, allocations: 8.031 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.4747, allocations: 38.75 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.4747, allocations: 36.69 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.4753, allocations: 320.7 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.4753, allocations: 4.375 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4753, allocations: 4.375 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.4755, allocations: 73.59 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4755, allocations: 8 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4756, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4756, allocations: 4 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.4758, allocations: 59.83 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.4764, allocations: 379.7 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4766, allocations: 50.66 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4767, allocations: 28.83 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4767, allocations: 4 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.4768, allocations: 30.56 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4768, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004455/0.4772, allocations: 113.5 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4772, allocations: 55.34 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.4779, allocations: 0.5328 MB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.478, allocations: 25.7 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4781, allocations: 176 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.4781, allocations: 11.89 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.4782, allocations: 13.72 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4784, allocations: 346.8 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.4785, allocations: 15.98 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.4785, allocations: 19.98 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4787, allocations: 48.81 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4787, allocations: 4 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002406/0.4789, allocations: 101.7 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.479, allocations: 4 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.479, allocations: 7.938 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.479, allocations: 0 / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.4791, allocations: 11.98 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4791, allocations: 0 / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.4792, allocations: 15.92 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.4792, allocations: 4 kB / 1.37 GB, free: 6.965 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 (3): * Single equations (assignments): 3 * 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.0001634/0.4793, allocations: 165.8 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.4794, allocations: 35.8 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.4797, allocations: 108.3 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4797, allocations: 0 / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4797, allocations: 4 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4797, allocations: 3.938 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.48, allocations: 220.6 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.48, allocations: 4 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.48, allocations: 15.92 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.48, allocations: 4 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.48, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.48, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.48, allocations: 0 / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.4804, allocations: 215.2 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.4805, allocations: 35.81 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.4805, allocations: 0 / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4806, allocations: 15.98 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.4807, allocations: 7.922 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.4807, allocations: 0 / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005008/0.4812, allocations: 399.1 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4812, allocations: 0 / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002667/0.4814, allocations: 23.94 kB / 1.371 GB, free: 5.656 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 (3): * Single equations (assignments): 3 * 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.002083/0.4835, allocations: 1.005 MB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4838, allocations: 47.95 kB / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4838, allocations: 0 / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.4839, allocations: 28 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.4843, allocations: 51.19 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.4883, allocations: 2.657 MB / 1.375 GB, free: 1.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4886, allocations: 165.8 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.4887, allocations: 37.92 kB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4889, allocations: 87.41 kB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.4889, allocations: 4 kB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.5269, allocations: 5.906 MB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.01, allocations: 8.422 kB / 1.381 GB, free: 11.75 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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: 19.25683930469677]