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.001349/0.001349, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002766/0.002766, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.973 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.542/3.542, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.003134/0.003134, allocations: 74.84 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.524, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003879/0.5279, allocations: 1.72 MB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.5293, allocations: 0.667 MB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.5295, allocations: 3.938 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.5302, allocations: 179.3 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.531, allocations: 208.6 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.5316, allocations: 203.5 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.532, allocations: 211.4 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.5322, allocations: 34 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.5324, allocations: 91.61 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.5327, allocations: 175.5 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.5327, allocations: 12 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.5329, allocations: 39.98 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.533, allocations: 87.62 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.5332, allocations: 95.28 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.5337, allocations: 282.7 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.5337, allocations: 4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.921e-06/0.5337, allocations: 3.984 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.5337, allocations: 0 / 1.357 GB, free: 4.508 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.001224/0.5349, allocations: 0.5275 MB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.535, allocations: 8.031 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.535, allocations: 38.73 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.5351, allocations: 40.7 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.5358, allocations: 312.8 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5358, allocations: 8.375 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.5358, allocations: 384 / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.5361, allocations: 81.53 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5361, allocations: 0 / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5361, allocations: 3.938 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5361, allocations: 3.938 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.5363, allocations: 51.95 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.5371, allocations: 407.6 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5373, allocations: 46.55 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.5374, allocations: 24.91 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.5374, allocations: 0 / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.5375, allocations: 42.58 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 3.657e-06/0.5375, allocations: 7.984 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004783/0.538, allocations: 117.4 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.538, allocations: 55.41 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.5388, allocations: 0.5289 MB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.5388, allocations: 25.7 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.539, allocations: 176 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.539, allocations: 11.89 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.539, allocations: 9.719 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.5393, allocations: 346.8 kB / 1.359 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.5394, allocations: 19.97 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.5395, allocations: 16 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.5396, allocations: 56.75 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5396, allocations: 0 / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002476/0.5399, allocations: 97.47 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5399, allocations: 8 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5399, allocations: 0 / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5399, allocations: 0 / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.54, allocations: 11.98 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.54, allocations: 0 / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.5401, allocations: 11.94 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.5401, allocations: 0 / 1.36 GB, free: 1.258 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.000189/0.5403, allocations: 173.7 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.5404, allocations: 35.77 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.5407, allocations: 116.2 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5407, allocations: 0 / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5407, allocations: 4 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5407, allocations: 7.938 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.5411, allocations: 248.5 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5411, allocations: 0 / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.5411, allocations: 4 kB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5411, allocations: 4 kB / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5411, allocations: 0 / 1.36 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5411, allocations: 3.984 kB / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5411, allocations: 0 / 1.36 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.5415, allocations: 219.2 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.5415, allocations: 35.77 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.5416, allocations: 7.984 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.5417, allocations: 4 kB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.5417, allocations: 12.34 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5417, allocations: 0 / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005203/0.5422, allocations: 399.1 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5422, allocations: 4 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002761/0.5425, allocations: 23.94 kB / 1.361 GB, free: 15.91 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.002037/0.5446, allocations: 0.9792 MB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.5448, allocations: 39.97 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5448, allocations: 0 / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.5449, allocations: 23.97 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.5454, allocations: 50.17 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.549, allocations: 2.649 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.5495, allocations: 0.783 MB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.5496, allocations: 37.92 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.5498, allocations: 87.41 kB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of SimCode: time 4.9e-07/0.5498, allocations: 0 / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.5878, allocations: 5.359 MB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.24, allocations: 8.984 kB / 1.371 GB, free: 5.969 MB / 1.061 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: 20.064318044111133]