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.001779/0.001779, allocations: 111.1 kB / 16.46 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.002258/0.002258, allocations: 216.2 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.569/1.569, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.441/3.441, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002072/0.002072, allocations: 68.67 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4991, allocations: 180.2 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.005186/0.5043, allocations: 1.708 MB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.5061, allocations: 0.6514 MB / 1.35 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.5064, allocations: 4 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5075, allocations: 186.6 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.5085, allocations: 207.2 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008139/0.5093, allocations: 197.2 kB / 1.351 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.51, allocations: 215.4 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.5102, allocations: 29.89 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.5104, allocations: 87.67 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.5108, allocations: 175.5 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.5109, allocations: 12 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.5111, allocations: 43.98 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.5112, allocations: 79.69 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.5114, allocations: 99.28 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.512, allocations: 286.6 kB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.512, allocations: 0 / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.035e-06/0.512, allocations: 0 / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.512, allocations: 0 / 1.352 GB, free: 6.074 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.001514/0.5135, allocations: 0.6068 MB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.5136, allocations: 11.98 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.5137, allocations: 38.75 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5138, allocations: 32.7 kB / 1.352 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.5145, allocations: 386.6 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5146, allocations: 4.375 kB / 1.353 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.5146, allocations: 4.375 kB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.5148, allocations: 73.59 kB / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5148, allocations: 0 / 1.353 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5149, allocations: 3.938 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5149, allocations: 3.938 kB / 1.353 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.5151, allocations: 67.88 kB / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.516, allocations: 424.6 kB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.5162, allocations: 54.64 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.5163, allocations: 20.84 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5164, allocations: 4 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.5164, allocations: 34.56 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.5164, allocations: 0 / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005233/0.5169, allocations: 125.6 kB / 1.353 GB, free: 4.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.517, allocations: 55.34 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.5178, allocations: 0.5289 MB / 1.354 GB, free: 3.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5178, allocations: 29.7 kB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.518, allocations: 172.1 kB / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.518, allocations: 3.953 kB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.5181, allocations: 17.7 kB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.5183, allocations: 342.8 kB / 1.355 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.5184, allocations: 19.98 kB / 1.355 GB, free: 2.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-05/0.5185, allocations: 27.97 kB / 1.355 GB, free: 2.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.5187, allocations: 44.83 kB / 1.355 GB, free: 2.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5187, allocations: 0 / 1.355 GB, free: 2.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002968/0.519, allocations: 105.4 kB / 1.355 GB, free: 2.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.519, allocations: 4 kB / 1.355 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.519, allocations: 0 / 1.355 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.519, allocations: 3.984 kB / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5191, allocations: 12 kB / 1.355 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5191, allocations: 0 / 1.355 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.5192, allocations: 15.86 kB / 1.355 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5192, allocations: 0 / 1.355 GB, free: 2.605 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.0002044/0.5194, allocations: 173.8 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.5195, allocations: 31.77 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.5199, allocations: 112.2 kB / 1.355 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.5199, allocations: 4 kB / 1.355 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5199, allocations: 0 / 1.355 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5199, allocations: 3.938 kB / 1.355 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.5203, allocations: 277.4 kB / 1.355 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5203, allocations: 0 / 1.355 GB, free: 1.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.5203, allocations: 11.98 kB / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5203, allocations: 0 / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.5204, allocations: 0 / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5204, allocations: 0 / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5204, allocations: 0 / 1.355 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.5207, allocations: 207.2 kB / 1.356 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.5209, allocations: 116.9 kB / 1.356 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.5209, allocations: 4 kB / 1.356 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.521, allocations: 7.984 kB / 1.356 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.5211, allocations: 7.938 kB / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.5211, allocations: 0 / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005543/0.5216, allocations: 407.1 kB / 1.356 GB, free: 1.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5216, allocations: 0 / 1.356 GB, free: 1.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003/0.5219, allocations: 20 kB / 1.356 GB, free: 1.148 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.002336/0.5243, allocations: 0.9843 MB / 1.357 GB, free: 276 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.5246, allocations: 39.95 kB / 1.357 GB, free: 236 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5246, allocations: 0 / 1.357 GB, free: 236 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5247, allocations: 31.92 kB / 1.357 GB, free: 204 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.5254, allocations: 48.44 kB / 1.357 GB, free: 160 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.5302, allocations: 2.649 MB / 1.36 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.5309, allocations: 0.7831 MB / 1.36 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.531, allocations: 37.92 kB / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.5312, allocations: 91.41 kB / 1.361 GB, free: 12.49 MB / 1.061 GB Notification: Performance of SimCode: time 1.663e-06/0.5312, allocations: 0 / 1.361 GB, free: 12.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.567, allocations: 5.236 MB / 1.366 GB, free: 7.316 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/9.269, allocations: 12 kB / 1.366 GB, free: 7.305 MB / 1.061 GB " [Timeout remaining time 291] (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: 17.02939961804077]