Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001387/0.001387, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001547/0.001547, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.918/2.918, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.002156/0.002156, allocations: 66.84 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4284, allocations: 170 MB / 1.283 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003181/0.4316, allocations: 1.429 MB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.4327, allocations: 470.5 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.4328, allocations: 4 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.655e-05/0.4328, allocations: 7.922 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.4329, allocations: 7.938 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.4337, allocations: 246.9 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.434, allocations: 147.7 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.434, allocations: 7.984 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.4341, allocations: 55.91 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.4342, allocations: 39.84 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.4342, allocations: 11.94 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.4346, allocations: 187.8 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.4347, allocations: 41.69 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.4347, allocations: 39.86 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.4351, allocations: 244.9 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4351, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4351, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4352, allocations: 0 / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006832/0.4358, allocations: 369.6 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4359, allocations: 12.03 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.4359, allocations: 34.75 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.436, allocations: 16.84 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.4362, allocations: 146.3 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4363, allocations: 16.38 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4363, allocations: 8.375 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.4365, allocations: 83.94 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4365, allocations: 3.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.4365, allocations: 4 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4365, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.4366, allocations: 39.92 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.4369, allocations: 177.7 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.4371, allocations: 81.17 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.4371, allocations: 45.81 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.4372, allocations: 7.938 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.4375, allocations: 121 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.4375, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0004047/0.4379, allocations: 181.5 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.438, allocations: 89.09 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.4381, allocations: 143.5 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.4382, allocations: 37.69 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.4383, allocations: 104.5 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.4384, allocations: 39.69 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.4385, allocations: 53.64 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4387, allocations: 326.8 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.4388, allocations: 43.97 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.4393, allocations: 0.6031 MB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4395, allocations: 97.58 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4395, allocations: 3.938 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002799/0.4398, allocations: 165.4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4398, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.4398, allocations: 8.609 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4399, allocations: 0 / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.44, allocations: 15.94 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.44, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.4403, allocations: 67.91 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4403, allocations: 8 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001774/0.4405, allocations: 141.8 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.4405, allocations: 15.84 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.4405, allocations: 16.7 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4405, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4405, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4405, allocations: 4 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.4407, allocations: 160.7 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4407, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4408, allocations: 8 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4408, allocations: 3.938 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.4408, allocations: 8 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4408, allocations: 7.984 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4408, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.4411, allocations: 184 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.4411, allocations: 11.95 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.4411, allocations: 4 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.4411, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.4412, allocations: 11.98 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4412, allocations: 4 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001008/0.4413, allocations: 117.4 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4413, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003281/0.4416, allocations: 83.8 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007537/0.4424, allocations: 0.7803 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.4427, allocations: 155.3 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4427, allocations: 0 / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.4428, allocations: 39.92 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.4429, allocations: 8 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.4452, allocations: 1.715 MB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.4453, allocations: 92.92 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.4453, allocations: 20.86 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.4454, allocations: 31.42 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.4454, allocations: 0 / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.4796, allocations: 4.699 MB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.75, allocations: 9.312 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.139947112184018]