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.001591/0.001591, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001886/0.001886, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.828 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.446/3.446, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002093/0.002093, allocations: 63.56 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4346, allocations: 176.1 MB / 1.326 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003448/0.4381, allocations: 1.671 MB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.4394, allocations: 0.6508 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.063e-05/0.4395, allocations: 3.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.4401, allocations: 176.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.4407, allocations: 217 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.4412, allocations: 189.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.4415, allocations: 223.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4416, allocations: 22.03 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.4418, allocations: 87.66 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.442, allocations: 175.5 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.442, allocations: 12 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.4422, allocations: 55.97 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.4423, allocations: 79.69 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.4424, allocations: 75.41 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.4428, allocations: 278.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4428, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4428, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4428, allocations: 0 / 1.33 GB, free: 13.7 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.0009217/0.4437, allocations: 0.5353 MB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4437, allocations: 8.031 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.4438, allocations: 42.73 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.4439, allocations: 32.75 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.4444, allocations: 320.8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4444, allocations: 384 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4444, allocations: 4.375 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.4447, allocations: 77.53 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4447, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4447, allocations: 3.984 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4447, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4449, allocations: 55.95 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.4456, allocations: 383.6 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.4458, allocations: 50.55 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.4458, allocations: 24.84 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4459, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.4459, allocations: 34.59 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4459, allocations: 3.938 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004718/0.4464, allocations: 125.4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.4464, allocations: 51.41 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.4472, allocations: 0.5289 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.4472, allocations: 25.7 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4474, allocations: 172.1 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.4474, allocations: 11.84 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.4474, allocations: 17.7 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.4476, allocations: 346.8 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.4477, allocations: 19.98 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.4478, allocations: 19.98 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.448, allocations: 48.77 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.448, allocations: 0 / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002462/0.4482, allocations: 97.47 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4482, allocations: 6.188 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4482, allocations: 4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4482, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.4483, allocations: 11.98 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4484, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.4484, allocations: 11.92 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4484, allocations: 0 / 1.333 GB, free: 10.46 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.0001701/0.4486, allocations: 165.8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.4487, allocations: 35.77 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.449, allocations: 116.2 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.449, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.449, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.449, allocations: 3.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.4493, allocations: 224.7 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4493, allocations: 0 / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.4493, allocations: 12.36 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4493, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4493, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4493, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4493, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.4497, allocations: 219.1 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.4498, allocations: 39.8 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.4498, allocations: 0 / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4499, allocations: 4 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4499, allocations: 7.922 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.45, allocations: 7.938 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004577/0.4504, allocations: 395.1 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4504, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002873/0.4507, allocations: 39.88 kB / 1.334 GB, free: 9.137 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.002016/0.4527, allocations: 0.9916 MB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.453, allocations: 47.95 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.453, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.4531, allocations: 23.98 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.4536, allocations: 50.25 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.4571, allocations: 2.658 MB / 1.337 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.4573, allocations: 169.8 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.4574, allocations: 54.09 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.4576, allocations: 91.39 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4576, allocations: 0 / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.4938, allocations: 5.913 MB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.54, allocations: 7.25 kB / 1.344 GB, free: 15.23 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.08742231799988]