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.001481/0.001481, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00196/0.00196, allocations: 221.1 kB / 23.05 MB, free: 5.074 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.553/3.553, allocations: 0.5003 GB / 0.8061 GB, free: 26.98 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.002025/0.002025, allocations: 72.2 kB / 1.171 GB, free: 19.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5419, allocations: 179 MB / 1.345 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004279/0.5462, allocations: 1.72 MB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.5478, allocations: 0.6626 MB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.548, allocations: 3.938 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.5487, allocations: 186.1 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.5493, allocations: 204.9 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.5498, allocations: 198.6 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.5501, allocations: 219.4 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.5503, allocations: 26.02 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.5504, allocations: 87.67 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.5507, allocations: 171.5 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.5507, allocations: 19.98 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.5509, allocations: 43.98 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.551, allocations: 83.69 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.5511, allocations: 107.3 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.5515, allocations: 282.6 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5516, allocations: 0 / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.199e-06/0.5516, allocations: 4 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.5516, allocations: 0 / 1.349 GB, free: 12.53 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.001112/0.5527, allocations: 0.5276 MB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.5528, allocations: 12.03 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.5528, allocations: 4.125 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.5528, allocations: 38.75 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.5529, allocations: 36.7 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.5535, allocations: 312.8 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.5536, allocations: 8.375 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.5536, allocations: 4.125 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.5538, allocations: 77.59 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5539, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5539, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5539, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.5541, allocations: 67.88 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.5549, allocations: 395.7 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.5551, allocations: 46.59 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.5552, allocations: 32.89 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.5553, allocations: 0 / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5553, allocations: 34.56 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5553, allocations: 0 / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004914/0.5558, allocations: 113.4 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.5559, allocations: 63.34 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.5566, allocations: 0.5328 MB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5566, allocations: 25.7 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5568, allocations: 168 kB / 1.352 GB, free: 9.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5568, allocations: 15.89 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.5568, allocations: 9.719 kB / 1.352 GB, free: 9.855 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.5571, allocations: 346.8 kB / 1.352 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.5572, allocations: 19.98 kB / 1.352 GB, free: 9.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.5573, allocations: 19.98 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.5574, allocations: 48.81 kB / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5574, allocations: 0 / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002643/0.5577, allocations: 97.41 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5577, allocations: 8 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5577, allocations: 3.984 kB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5578, allocations: 4 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5579, allocations: 15.98 kB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5579, allocations: 3.938 kB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.558, allocations: 7.984 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.558, allocations: 4.266 kB / 1.352 GB, free: 9.27 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.0002036/0.5582, allocations: 165.8 kB / 1.352 GB, free: 9.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.5583, allocations: 35.77 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.5586, allocations: 116.2 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5586, allocations: 4 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5586, allocations: 7.875 kB / 1.352 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5586, allocations: 3.938 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5589, allocations: 244.6 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5589, allocations: 4 kB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.559, allocations: 11.98 kB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.559, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.559, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.559, allocations: 4 kB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.559, allocations: 3.938 kB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.5593, allocations: 195.3 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.5594, allocations: 39.75 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5595, allocations: 4 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.5596, allocations: 4 kB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5596, allocations: 11.92 kB / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.5596, allocations: 0 / 1.353 GB, free: 8.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004888/0.5601, allocations: 407.1 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5601, allocations: 0 / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002931/0.5604, allocations: 27.88 kB / 1.353 GB, free: 7.93 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.001958/0.5623, allocations: 0.9681 MB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002763/0.5626, allocations: 43.95 kB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5626, allocations: 0 / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.5627, allocations: 31.86 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.5633, allocations: 53.38 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.5672, allocations: 2.657 MB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.5677, allocations: 0.779 MB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.964e-05/0.5678, allocations: 33.94 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5679, allocations: 95.39 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.5679, allocations: 7.938 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.5989, allocations: 5.383 MB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.37, allocations: 5.547 kB / 1.363 GB, free: 13.96 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: 20.12403677299153]