Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 173.1 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 0.7948 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 102.5 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3244, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.5112, allocations: 149.7 MB / 1.369 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5115, allocations: 75.95 kB / 1.369 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5259, allocations: 5.071 MB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5259, allocations: 0 / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.5259, allocations: 4 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006565/0.5266, allocations: 467.3 kB / 1.375 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5266, allocations: 8.031 kB / 1.375 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.5267, allocations: 46.48 kB / 1.375 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.5268, allocations: 15.81 kB / 1.375 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.5271, allocations: 215.7 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5271, allocations: 8 kB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.5272, allocations: 19.98 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.5274, allocations: 93.17 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5274, allocations: 0 / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5274, allocations: 4 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.5275, allocations: 7.984 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5276, allocations: 51.89 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.5279, allocations: 255.3 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.528, allocations: 108.6 kB / 1.375 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.5281, allocations: 4 kB / 1.375 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.5283, allocations: 142.4 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.5283, allocations: 0 / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0005751/0.5289, allocations: 461.4 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5289, allocations: 118.8 kB / 1.376 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.5291, allocations: 130.5 kB / 1.376 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.5291, allocations: 41.64 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.5292, allocations: 100.7 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.5293, allocations: 51.36 kB / 1.376 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.5293, allocations: 4 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5294, allocations: 330.8 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.5295, allocations: 52.25 kB / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.5298, allocations: 205.3 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.5299, allocations: 71.86 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5299, allocations: 0 / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002994/0.5302, allocations: 201.3 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5303, allocations: 8 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/0.5303, allocations: 4 kB / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5303, allocations: 3.938 kB / 1.377 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.5304, allocations: 23.86 kB / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.5304, allocations: 0 / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.5306, allocations: 55.8 kB / 1.377 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.5307, allocations: 12 kB / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.5308, allocations: 144 kB / 1.377 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.5308, allocations: 7.906 kB / 1.377 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.022e-05/0.5309, allocations: 16.72 kB / 1.377 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5309, allocations: 4 kB / 1.377 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5309, allocations: 0 / 1.377 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5309, allocations: 0 / 1.377 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.5311, allocations: 213.4 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5311, allocations: 4.141 kB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.5312, allocations: 15.98 kB / 1.378 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5312, allocations: 3.984 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.5312, allocations: 8 kB / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5312, allocations: 0 / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5312, allocations: 0 / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.5315, allocations: 249.4 kB / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.5316, allocations: 85.02 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.5316, allocations: 12 kB / 1.378 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.5317, allocations: 7.984 kB / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.5318, allocations: 7.984 kB / 1.378 GB, free: 2.652 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5318, allocations: 12 kB / 1.378 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.5318, allocations: 101.7 kB / 1.378 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5319, allocations: 4 kB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004096/0.5323, allocations: 123.9 kB / 1.378 GB, free: 2.418 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008464/0.5331, allocations: 1.018 MB / 1.379 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.5335, allocations: 217 kB / 1.379 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5335, allocations: 0 / 1.379 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.5336, allocations: 55.92 kB / 1.38 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.5337, allocations: 11.94 kB / 1.38 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.5351, allocations: 1.162 MB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5354, allocations: 0.7126 MB / 1.381 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.526e-05/0.5355, allocations: 12.88 kB / 1.381 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.5356, allocations: 35.36 kB / 1.381 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5356, allocations: 0 / 1.381 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.5535, allocations: 4.206 MB / 1.386 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.5538, allocations: 197.7 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.323, allocations: 4 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat does not exist to compare? outputFormat=mat