Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002572/0.002572, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.003018/0.003018, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.389/3.389, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_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.002038/0.002038, allocations: 63.77 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4394, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004202/0.4436, allocations: 1.695 MB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4452, allocations: 0.6548 MB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.4453, allocations: 7.938 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.446, allocations: 197 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.4467, allocations: 201.2 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.4472, allocations: 195.6 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.4477, allocations: 215.4 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.4478, allocations: 29.89 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.448, allocations: 95.59 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.4483, allocations: 167.6 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.4483, allocations: 12 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.4485, allocations: 43.98 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4486, allocations: 91.62 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.4487, allocations: 99.27 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.4492, allocations: 282.7 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4492, allocations: 0 / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4492, allocations: 0 / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.4492, allocations: 0 / 1.325 GB, free: 15.42 MB / 1.029 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.001157/0.4504, allocations: 0.6067 MB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4504, allocations: 11.98 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.4505, allocations: 38.75 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.4506, allocations: 32.75 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.4512, allocations: 386.5 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4513, allocations: 4.375 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4513, allocations: 4.375 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.4516, allocations: 77.53 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4516, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4516, allocations: 0 / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4516, allocations: 4 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.4518, allocations: 51.95 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.4526, allocations: 436.5 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4528, allocations: 46.56 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4529, allocations: 24.89 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4529, allocations: 8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.453, allocations: 30.56 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.453, allocations: 0 / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004687/0.4534, allocations: 121.4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4535, allocations: 51.41 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.4542, allocations: 0.5405 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4542, allocations: 25.7 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4544, allocations: 172.1 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4544, allocations: 11.91 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.4544, allocations: 13.72 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4546, allocations: 342.8 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.4547, allocations: 19.98 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.4548, allocations: 23.98 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.455, allocations: 44.81 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.455, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003089/0.4553, allocations: 105.4 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4553, allocations: 4 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4553, allocations: 0 / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4553, allocations: 0 / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4554, allocations: 15.98 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4554, allocations: 0 / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4555, allocations: 19.86 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4556, allocations: 0 / 1.328 GB, free: 11.95 MB / 1.029 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.0002019/0.4558, allocations: 173.8 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.4558, allocations: 32.09 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.4562, allocations: 124.1 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4562, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4562, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4562, allocations: 3.938 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.4566, allocations: 269.5 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4566, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.4567, allocations: 11.98 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4567, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4567, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.4567, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4567, allocations: 0 / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.4571, allocations: 207.2 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4572, allocations: 116.9 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.4572, allocations: 0 / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4573, allocations: 7.984 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.4574, allocations: 3.938 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4574, allocations: 0 / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005411/0.4579, allocations: 403.1 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4579, allocations: 0 / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003161/0.4583, allocations: 31.94 kB / 1.329 GB, free: 10.5 MB / 1.029 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.002142/0.4604, allocations: 0.9781 MB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.4607, allocations: 51.89 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4607, allocations: 0 / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4608, allocations: 23.98 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.4615, allocations: 48.09 kB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.4665, allocations: 2.659 MB / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/0.4672, allocations: 0.7791 MB / 1.334 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000164/0.4674, allocations: 37.92 kB / 1.334 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4676, allocations: 95.39 kB / 1.334 GB, free: 5.836 MB / 1.029 GB Notification: Performance of SimCode: time 1.512e-06/0.4676, allocations: 0 / 1.334 GB, free: 5.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.5045, allocations: 5.233 MB / 1.339 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.09, allocations: 2.312 kB / 1.339 GB, free: 0.6523 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.60757050686516]