Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001219/0.001219, allocations: 176.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.0009581/0.0009584, allocations: 83.98 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.13e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.359, allocations: 150.5 MB / 1.366 GB, free: 3.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.359, allocations: 72.77 kB / 1.366 GB, free: 3.531 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01436/1.374, allocations: 5.034 MB / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.465e-06/1.374, allocations: 0 / 1.371 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.374, allocations: 4 kB / 1.371 GB, free: 15.15 MB / 0.8386 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.0006113/1.374, allocations: 451 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.375, allocations: 12.03 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/1.375, allocations: 7.906 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/1.375, allocations: 226.5 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.375, allocations: 4 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/1.375, allocations: 11.69 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/1.375, allocations: 107 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.375, allocations: 0 / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.375, allocations: 0 / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.375, allocations: 4 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/1.375, allocations: 54.83 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/1.376, allocations: 265.6 kB / 1.372 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/1.376, allocations: 106.5 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.376, allocations: 73.67 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/1.376, allocations: 0 / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/1.376, allocations: 142.6 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/1.376, allocations: 4 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003535/1.377, allocations: 172.8 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/1.377, allocations: 118.5 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.377, allocations: 124.7 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/1.377, allocations: 44.14 kB / 1.373 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/1.377, allocations: 98.62 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/1.377, allocations: 53.84 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/1.377, allocations: 0 / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.377, allocations: 329.6 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.377, allocations: 54.27 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.378, allocations: 195.2 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/1.378, allocations: 74.5 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.378, allocations: 3.938 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002952/1.378, allocations: 193.6 kB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.378, allocations: 11.92 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.378, allocations: 4 kB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.378, allocations: 4 kB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/1.378, allocations: 8 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.378, allocations: 4 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/1.378, allocations: 57.86 kB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/1.378, allocations: 11.98 kB / 1.374 GB, free: 12.18 MB / 0.8386 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 () * 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.0001072/1.378, allocations: 130.4 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/1.379, allocations: 11.95 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/1.379, allocations: 21.67 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.379, allocations: 0 / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.379, allocations: 4 kB / 1.374 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.379, allocations: 7.984 kB / 1.374 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/1.379, allocations: 209.3 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.379, allocations: 0 / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/1.379, allocations: 8 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.379, allocations: 4 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.379, allocations: 0 / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.379, allocations: 7.938 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.379, allocations: 0 / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/1.379, allocations: 245.2 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/1.379, allocations: 85.02 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.379, allocations: 4 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.708e-05/1.379, allocations: 11.73 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.379, allocations: 7.984 kB / 1.374 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/1.379, allocations: 15.25 kB / 1.374 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.149e-05/1.38, allocations: 114.8 kB / 1.374 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.38, allocations: 0 / 1.374 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004161/1.38, allocations: 117.9 kB / 1.375 GB, free: 11.18 MB / 0.8386 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) * 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.0003366/1.38, allocations: 206.9 kB / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000317/1.381, allocations: 221.7 kB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.381, allocations: 0 / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/1.381, allocations: 56.42 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/1.381, allocations: 16.69 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/1.381, allocations: 174.4 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.382, allocations: 0.7131 MB / 1.376 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.26e-05/1.382, allocations: 8.891 kB / 1.376 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/1.382, allocations: 11.44 kB / 1.376 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.382, allocations: 4 kB / 1.376 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of Templates: time 0.005836/1.388, allocations: 2.852 MB / 1.379 GB, free: 6.977 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches