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.0008246/0.0008246, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007983/0.0007983, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8897/0.8897, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.36e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002024/0.002048, allocations: 1.434 MB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000609/0.002657, allocations: 470.8 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.002688, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.002755, allocations: 3.938 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.002808, allocations: 19.84 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.003414, allocations: 240.9 kB / 0.9525 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.003575, allocations: 147.7 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.003611, allocations: 7.938 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.003688, allocations: 87.86 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.003748, allocations: 23.97 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.00377, allocations: 12 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.004019, allocations: 183.7 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.004072, allocations: 43.89 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.00412, allocations: 35.92 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.004368, allocations: 275.3 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00437, allocations: 0 / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004371, allocations: 4 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004375, allocations: 0 / 0.9533 GB, free: 0.5625 MB / 0.9011 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.0004725/0.004848, allocations: 385.4 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.004882, allocations: 8.031 kB / 0.9537 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.00491, allocations: 34.75 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.004947, allocations: 16.88 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.005115, allocations: 147.5 kB / 0.9539 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.005127, allocations: 8.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005143, allocations: 8.375 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005272, allocations: 79.95 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.005281, allocations: 8.125 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005289, allocations: 4.375 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.005295, allocations: 4.125 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.053e-05/0.005355, allocations: 39.97 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.005512, allocations: 185.6 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.005595, allocations: 81.11 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.005646, allocations: 49.81 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.005656, allocations: 4 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.005813, allocations: 105.1 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.005814, allocations: 4 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0002529/0.006067, allocations: 189.5 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.006112, allocations: 89.05 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.006199, allocations: 151.8 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.00622, allocations: 37.7 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.006267, allocations: 96.5 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.006304, allocations: 39.73 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.006359, allocations: 53.69 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.006578, allocations: 326.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.006625, allocations: 39.98 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.006882, allocations: 0.6019 MB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.006983, allocations: 101.6 kB / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006985, allocations: 0 / 0.9561 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001544/0.00714, allocations: 169.4 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007153, allocations: 11.88 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.007172, allocations: 7.938 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007183, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.007242, allocations: 8 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.007247, allocations: 0 / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.007398, allocations: 82.97 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.007406, allocations: 4 kB / 0.9564 GB, free: 13.05 MB / 0.9167 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 7.599e-05/0.007482, allocations: 129.8 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.007494, allocations: 15.94 kB / 0.9565 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.007517, allocations: 12.72 kB / 0.9565 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00752, allocations: 8 kB / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.007524, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007527, allocations: 0 / 0.9565 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.24e-05/0.00762, allocations: 168.6 kB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007621, allocations: 0 / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.007639, allocations: 7.984 kB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007641, allocations: 0 / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.007649, allocations: 7.938 kB / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00765, allocations: 0 / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007651, allocations: 0 / 0.9567 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.007804, allocations: 181.8 kB / 0.9569 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.007814, allocations: 15.91 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007828, allocations: 3.938 kB / 0.9569 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.00785, allocations: 7.984 kB / 0.9569 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.007882, allocations: 4 kB / 0.9569 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.007887, allocations: 8.078 kB / 0.9569 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.007935, allocations: 111.2 kB / 0.957 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.007935, allocations: 0 / 0.957 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002094/0.008144, allocations: 79.86 kB / 0.9571 GB, free: 12.22 MB / 0.9167 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.0004646/0.008609, allocations: 0.7925 MB / 0.9579 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.00883, allocations: 155.4 kB / 0.958 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008832, allocations: 3.938 kB / 0.958 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.008877, allocations: 35.98 kB / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.00901, allocations: 10.06 kB / 0.9581 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.0105, allocations: 1.722 MB / 0.9598 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.01056, allocations: 89.11 kB / 0.9599 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.01059, allocations: 12.72 kB / 0.9599 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.01064, allocations: 28.5 kB / 0.9599 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of SimCode: time 1.031e-06/0.01064, allocations: 0 / 0.9599 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02744, allocations: 4.826 MB / 0.9646 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.897, allocations: 13.3 kB / 0.9646 GB, free: 4.57 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable occSchDay.occupied in file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchDay.occupied from file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! Error: Could not read variable occSchWee.occupied in file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchWee.occupied from file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.928209982812405]