Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001506/0.001506, allocations: 109.1 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00232/0.00232, allocations: 298.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 99.83 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4672, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002763/0.47, allocations: 1.479 MB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.4713, allocations: 0.6908 MB / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.4715, allocations: 0 / 0.7692 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.4716, allocations: 7.875 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.4717, allocations: 15.86 kB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.4728, allocations: 351.7 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.4731, allocations: 171.6 kB / 0.7697 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.4732, allocations: 11.97 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4733, allocations: 71.83 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4734, allocations: 47.77 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.4735, allocations: 12 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.4739, allocations: 247.7 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.474, allocations: 43.91 kB / 0.7701 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.4741, allocations: 55.72 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.4747, allocations: 303.1 kB / 0.7704 GB, free: 456 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4747, allocations: 4 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4747, allocations: 0 / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4747, allocations: 0 / 0.7704 GB, free: 452 kB / 0.5294 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.0007211/0.4754, allocations: 481.4 kB / 0.7709 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4755, allocations: 8.031 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.4756, allocations: 20.84 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4759, allocations: 212 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.4759, allocations: 8.375 kB / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.476, allocations: 8.375 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.4762, allocations: 104.7 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.4762, allocations: 192 / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4762, allocations: 3.938 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.4762, allocations: 4 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.835e-05/0.4763, allocations: 51.91 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.4767, allocations: 247.3 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.4768, allocations: 103.8 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4769, allocations: 78.7 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.477, allocations: 4 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.4772, allocations: 138.7 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.4773, allocations: 0 / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.000442/0.4777, allocations: 217.4 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4778, allocations: 118.8 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.478, allocations: 140.9 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.478, allocations: 37.69 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.4781, allocations: 96.7 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.4782, allocations: 55.28 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.4783, allocations: 61.69 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4784, allocations: 330.8 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.4785, allocations: 52.25 kB / 0.7729 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4787, allocations: 183.3 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.4789, allocations: 130.5 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4789, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003284/0.4793, allocations: 201.2 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4793, allocations: 8 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.4793, allocations: 4 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4794, allocations: 0 / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.4795, allocations: 19.98 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4795, allocations: 0 / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.4797, allocations: 47.8 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4797, allocations: 8 kB / 0.7735 GB, free: 12.99 MB / 0.545 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.00013/0.4799, allocations: 146.4 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.4799, allocations: 15.75 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.4799, allocations: 12.72 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.48, allocations: 3.938 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.48, allocations: 0 / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.48, allocations: 88.95 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4801, allocations: 11.98 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.4801, allocations: 8 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.4802, allocations: 15.92 kB / 0.7738 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003858/0.4806, allocations: 416.2 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003783/0.481, allocations: 0.4951 MB / 0.7746 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.339e-05/0.4811, allocations: 56.19 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.144e-05/0.4811, allocations: 107.2 kB / 0.7748 GB, free: 11.58 MB / 0.545 GB Notification: Performance of Backend: time 3.21e-07/0.4812, allocations: 0 / 0.7748 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009172/0.4821, allocations: 347.3 kB / 0.7751 GB, free: 11.22 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005967/0.4827, allocations: 0.6476 MB / 0.7758 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Templates: time 0.00709/0.4898, allocations: 3.207 MB / 0.7789 GB, free: 7.375 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)