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: 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_9_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_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001025/0.001025, allocations: 172.9 kB / 492.3 MB, free: 0.6172 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.547/1.547, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009467/0.0009469, allocations: 95.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.842e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9599/1.252, allocations: 149.6 MB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.252, allocations: 69.2 kB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01427/1.266, allocations: 5.048 MB / 1.364 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.266, allocations: 0 / 1.364 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.365e-05/1.266, allocations: 3.906 kB / 1.364 GB, free: 34.47 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.0005406/1.267, allocations: 445.9 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.267, allocations: 7.688 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/1.267, allocations: 15.53 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/1.267, allocations: 218.4 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.267, allocations: 7.688 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/1.267, allocations: 10.72 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/1.267, allocations: 102.4 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.267, allocations: 4 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.267, allocations: 3.812 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.267, allocations: 0 / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.218e-05/1.268, allocations: 51.47 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/1.268, allocations: 260.9 kB / 1.365 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/1.268, allocations: 112.1 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/1.268, allocations: 68.03 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.268, allocations: 6.906 kB / 1.365 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/1.268, allocations: 140.1 kB / 1.365 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/1.268, allocations: 0 / 1.365 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.000311/1.269, allocations: 180.6 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.269, allocations: 121.2 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/1.269, allocations: 128.2 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/1.269, allocations: 38.48 kB / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/1.269, allocations: 97.77 kB / 1.365 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/1.269, allocations: 54.75 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.269, allocations: 3.375 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.269, allocations: 331.3 kB / 1.366 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/1.269, allocations: 47.98 kB / 1.366 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/1.269, allocations: 200.2 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/1.269, allocations: 65.08 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.269, allocations: 0 / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002403/1.27, allocations: 206.2 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.27, allocations: 7.812 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.27, allocations: 3.812 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.27, allocations: 7.75 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/1.27, allocations: 11.09 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.27, allocations: 3.844 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/1.27, allocations: 58.27 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/1.27, allocations: 7.578 kB / 1.366 GB, free: 32.44 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 7.553e-05/1.27, allocations: 133.5 kB / 1.367 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/1.27, allocations: 14.97 kB / 1.367 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/1.27, allocations: 19.31 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.27, allocations: 3.875 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.27, allocations: 0 / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.27, allocations: 0 / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.27, allocations: 209.8 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.27, allocations: 3.812 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/1.27, allocations: 7.875 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.27, allocations: 0 / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.27, allocations: 11.16 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.27, allocations: 0 / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.27, allocations: 3.844 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/1.271, allocations: 245.6 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/1.271, allocations: 88.8 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/1.271, allocations: 7.062 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/1.271, allocations: 7.812 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/1.271, allocations: 10.22 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.271, allocations: 10.33 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.54e-05/1.271, allocations: 106.5 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.271, allocations: 0 / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003928/1.271, allocations: 117 kB / 1.367 GB, free: 31.77 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.0002682/1.272, allocations: 213.2 kB / 1.368 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000254/1.272, allocations: 227.5 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.272, allocations: 0 / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/1.272, allocations: 54.48 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/1.272, allocations: 11.56 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/1.272, allocations: 181.8 kB / 1.368 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/1.273, allocations: 0.7148 MB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.676e-05/1.273, allocations: 15.64 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/1.273, allocations: 15.16 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.273, allocations: 0 / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.005323/1.278, allocations: 2.842 MB / 1.372 GB, free: 30.48 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches