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.001499/0.001499, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002004/0.002004, allocations: 216 kB / 22.26 MB, free: 5.113 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 8.016 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.518/3.518, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002068/0.002068, allocations: 65.03 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4431, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003318/0.4464, allocations: 1.727 MB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.4476, allocations: 0.6671 MB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.4477, allocations: 3.938 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.4483, allocations: 179.3 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.4488, allocations: 205.1 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.4493, allocations: 205.9 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.4496, allocations: 211.5 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4498, allocations: 26.02 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4499, allocations: 91.67 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.4501, allocations: 175.5 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.4502, allocations: 15.98 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4503, allocations: 43.92 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4504, allocations: 79.75 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4505, allocations: 99.22 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.4509, allocations: 278.8 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4509, allocations: 7.875 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4509, allocations: 3.938 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4509, allocations: 0 / 1.357 GB, free: 4.457 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.0008918/0.4518, allocations: 0.5354 MB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4518, allocations: 12.03 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.4519, allocations: 34.75 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.452, allocations: 32.7 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.4525, allocations: 312.8 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4525, allocations: 12.3 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.4525, allocations: 8.359 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4527, allocations: 69.61 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4527, allocations: 8 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4527, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4527, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.4529, allocations: 59.88 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.4535, allocations: 399.6 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4537, allocations: 50.56 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4538, allocations: 32.92 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4538, allocations: 0 / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4538, allocations: 30.56 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4539, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000413/0.4543, allocations: 125.4 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4543, allocations: 51.41 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.4549, allocations: 0.5289 MB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4549, allocations: 25.7 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.4551, allocations: 176 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4551, allocations: 7.891 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.4551, allocations: 13.72 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4553, allocations: 354.8 kB / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.4554, allocations: 15.92 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.4555, allocations: 23.98 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.4556, allocations: 40.83 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4556, allocations: 0 / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002384/0.4559, allocations: 105.5 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4559, allocations: 4 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4559, allocations: 0 / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4559, allocations: 0 / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.456, allocations: 15.92 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.456, allocations: 0 / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.4561, allocations: 15.86 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4561, allocations: 8 kB / 1.36 GB, free: 1.195 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.0001581/0.4562, allocations: 173.8 kB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.4563, allocations: 31.77 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4566, allocations: 112.3 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4566, allocations: 384 / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4566, allocations: 0 / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4566, allocations: 3.938 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.4569, allocations: 244.6 kB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4569, allocations: 3.984 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.457, allocations: 15.92 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.457, allocations: 4 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.457, allocations: 0 / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.457, allocations: 4 kB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.457, allocations: 3.938 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.4573, allocations: 199.3 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.4574, allocations: 43.75 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.4574, allocations: 4 kB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4575, allocations: 7.984 kB / 1.361 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4575, allocations: 11.94 kB / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.4575, allocations: 0 / 1.361 GB, free: 280 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004677/0.458, allocations: 399.1 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.458, allocations: 0 / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000267/0.4583, allocations: 23.94 kB / 1.361 GB, free: 15.86 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.001817/0.4601, allocations: 0.9802 MB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.4603, allocations: 43.95 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4604, allocations: 0 / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.4604, allocations: 19.98 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.4609, allocations: 47.28 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.4644, allocations: 2.657 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.4648, allocations: 0.7831 MB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.4649, allocations: 49.91 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.465, allocations: 87.41 kB / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.465, allocations: 0 / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.4999, allocations: 5.346 MB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.62, allocations: 7.328 kB / 1.371 GB, free: 5.918 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.464068300000235]