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.001726/0.001726, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002124/0.002124, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.437/3.437, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",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.003518/0.003518, allocations: 65.25 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4665, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003758/0.4702, allocations: 1.675 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.4715, allocations: 0.6393 MB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/0.4716, allocations: 3.938 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.4722, allocations: 173.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.4727, allocations: 208.4 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.4732, allocations: 204 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.4735, allocations: 211.5 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.4736, allocations: 42 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.4738, allocations: 87.56 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.474, allocations: 175.5 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.4741, allocations: 15.94 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4742, allocations: 43.92 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4743, allocations: 79.75 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.4744, allocations: 71.41 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.4748, allocations: 286.7 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4748, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4748, allocations: 3.938 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4748, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.045 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.0008803/0.4757, allocations: 0.5314 MB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4757, allocations: 8.031 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.23e-05/0.4757, allocations: 4.188 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.4758, allocations: 34.75 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.4758, allocations: 32.7 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.4763, allocations: 324.8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4763, allocations: 384 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4764, allocations: 12.11 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4766, allocations: 77.66 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4766, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.4766, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4766, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.4768, allocations: 51.95 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.4773, allocations: 379.7 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4775, allocations: 54.58 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.4776, allocations: 28.91 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4776, allocations: 3.984 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4777, allocations: 34.56 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4777, allocations: 0 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000397/0.4781, allocations: 117.4 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.4781, allocations: 59.41 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/0.4788, allocations: 0.5289 MB / 1.351 GB, free: 9.648 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4788, allocations: 29.7 kB / 1.351 GB, free: 9.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.479, allocations: 168 kB / 1.351 GB, free: 9.445 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.479, allocations: 15.89 kB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.479, allocations: 13.72 kB / 1.351 GB, free: 9.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.4793, allocations: 350.7 kB / 1.352 GB, free: 9.059 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.4793, allocations: 19.98 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.4794, allocations: 19.98 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.4796, allocations: 44.81 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4796, allocations: 4 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002699/0.4799, allocations: 101.4 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4799, allocations: 4 kB / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4799, allocations: 0 / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4799, allocations: 0 / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.48, allocations: 15.98 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.48, allocations: 7.875 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.4801, allocations: 7.953 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4801, allocations: 7.984 kB / 1.352 GB, free: 8.82 MB / 1.045 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.0002102/0.4803, allocations: 169.8 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.4804, allocations: 27.81 kB / 1.352 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.4808, allocations: 112.3 kB / 1.352 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4808, allocations: 384 / 1.352 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4808, allocations: 3.938 kB / 1.352 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4808, allocations: 0 / 1.352 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.4811, allocations: 220.7 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4811, allocations: 4 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.4812, allocations: 19.97 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4812, allocations: 0 / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4812, allocations: 0 / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4812, allocations: 3.938 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4812, allocations: 3.938 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.4815, allocations: 203.3 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.4816, allocations: 35.81 kB / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.4816, allocations: 0 / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4817, allocations: 11.98 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.4818, allocations: 7.938 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4818, allocations: 0 / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005153/0.4823, allocations: 399.1 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4823, allocations: 0 / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002773/0.4826, allocations: 31.94 kB / 1.353 GB, free: 7.516 MB / 1.045 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.00215/0.4847, allocations: 0.9943 MB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.485, allocations: 47.89 kB / 1.354 GB, free: 6.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.485, allocations: 4 kB / 1.354 GB, free: 6.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.4851, allocations: 31.91 kB / 1.354 GB, free: 6.562 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.4856, allocations: 43.48 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.4892, allocations: 2.653 MB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.4894, allocations: 169.8 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.647e-05/0.4895, allocations: 41.95 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4896, allocations: 91.41 kB / 1.357 GB, free: 3.48 MB / 1.045 GB Notification: Performance of SimCode: time 7.62e-07/0.4896, allocations: 0 / 1.357 GB, free: 3.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.5169, allocations: 5.533 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.43, allocations: 15.55 kB / 1.363 GB, free: 14.01 MB / 1.061 GB " [Timeout remaining time 287] (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.950929393060505]