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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009736, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 186.1 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.813/1.813, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8681, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00168/0.8698, allocations: 1.207 MB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.871, allocations: 0.712 MB / 0.9576 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.871, allocations: 0 / 0.9576 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.05e-05/0.8711, allocations: 9.078 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.8712, allocations: 11.41 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.8721, allocations: 289.9 kB / 0.9579 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.8723, allocations: 156 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.8724, allocations: 16.94 kB / 0.958 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.8725, allocations: 60.97 kB / 0.9581 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.8726, allocations: 53.66 kB / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.8726, allocations: 5.938 kB / 0.9581 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.873, allocations: 243.7 kB / 0.9584 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.8731, allocations: 30.44 kB / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.8732, allocations: 82.66 kB / 0.9585 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.8735, allocations: 216.2 kB / 0.9587 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8735, allocations: 0 / 0.9587 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8736, allocations: 0 / 0.9587 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8736, allocations: 0 / 0.9587 GB, free: 5.543 MB / 0.7169 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.0005455/0.8741, allocations: 446 kB / 0.9591 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.8742, allocations: 8.812 kB / 0.9591 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.8742, allocations: 27.88 kB / 0.9592 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.8744, allocations: 204.7 kB / 0.9593 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.8745, allocations: 4.5 kB / 0.9594 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.8745, allocations: 16.61 kB / 0.9594 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.8747, allocations: 100.6 kB / 0.9595 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8747, allocations: 1.562 kB / 0.9595 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8747, allocations: 3.938 kB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.8748, allocations: 1.375 kB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.8749, allocations: 50.03 kB / 0.9595 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.8751, allocations: 252 kB / 0.9598 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8753, allocations: 107.6 kB / 0.9599 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8754, allocations: 75.66 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.8754, allocations: 1.375 kB / 0.9599 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.8757, allocations: 140.8 kB / 0.9601 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.8757, allocations: 0 / 0.9601 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004402/0.8761, allocations: 221.3 kB / 0.9603 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.8762, allocations: 118.5 kB / 0.9604 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.8763, allocations: 144.1 kB / 0.9605 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.8764, allocations: 34.98 kB / 0.9606 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.8764, allocations: 97.25 kB / 0.9607 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.8765, allocations: 59.19 kB / 0.9607 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.8766, allocations: 30.83 kB / 0.9607 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.8766, allocations: 326.6 kB / 0.9611 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.8768, allocations: 53.75 kB / 0.9611 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.877, allocations: 179.4 kB / 0.9613 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.8772, allocations: 132.4 kB / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8772, allocations: 5.094 kB / 0.9614 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003667/0.8776, allocations: 208.8 kB / 0.9616 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.8776, allocations: 5.25 kB / 0.9616 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.8777, allocations: 4.141 kB / 0.9616 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8777, allocations: 2.031 kB / 0.9616 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.8778, allocations: 10.28 kB / 0.9616 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.8778, allocations: 9.344 kB / 0.9616 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.8781, allocations: 59.73 kB / 0.9617 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.8781, allocations: 9.5 kB / 0.9617 GB, free: 2.875 MB / 0.7169 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001232/0.8782, allocations: 133.8 kB / 0.9618 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.8783, allocations: 13.34 kB / 0.9618 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.8783, allocations: 19.23 kB / 0.9619 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8783, allocations: 2.781 kB / 0.9619 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.8783, allocations: 1.062 kB / 0.9619 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8783, allocations: 11.88 kB / 0.9619 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8785, allocations: 210.7 kB / 0.9621 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8785, allocations: 0 / 0.9621 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.8786, allocations: 13.09 kB / 0.9621 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8786, allocations: 0.875 kB / 0.9621 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.8786, allocations: 7.219 kB / 0.9621 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.8786, allocations: 5.078 kB / 0.9621 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8786, allocations: 1.156 kB / 0.9621 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.8789, allocations: 208.8 kB / 0.9623 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.879, allocations: 89.77 kB / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.879, allocations: 5.609 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.8791, allocations: 12.09 kB / 0.9624 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.8792, allocations: 12.83 kB / 0.9624 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.8792, allocations: 4.75 kB / 0.9624 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.8792, allocations: 104 kB / 0.9625 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8793, allocations: 4 kB / 0.9625 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004728/0.8797, allocations: 106.7 kB / 0.9626 GB, free: 2.09 MB / 0.7169 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 (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.0003618/0.8801, allocations: 199.8 kB / 0.9628 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.8804, allocations: 223.9 kB / 0.963 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8804, allocations: 0 / 0.963 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.8805, allocations: 53.33 kB / 0.9631 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.8807, allocations: 7.312 kB / 0.9631 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.8812, allocations: 310.6 kB / 0.9634 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.8814, allocations: 0.7126 MB / 0.9641 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.8815, allocations: 15.03 kB / 0.9641 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.8815, allocations: 0 / 0.9641 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of Templates: time 0.006108/0.8876, allocations: 3.085 MB / 0.9671 GB, free: 15.23 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches