Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001677, allocations: 109.2 kB / 16.41 MB, free: 6.027 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.00225/0.002251, allocations: 187.4 kB / 17.34 MB, free: 5.633 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 286.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003401/0.003401, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6256, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003448/0.6291, allocations: 1.491 MB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.6305, allocations: 0.683 MB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.6307, allocations: 4 kB / 0.7691 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.58e-05/0.6308, allocations: 7.875 kB / 0.7691 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.6309, allocations: 19.84 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.6322, allocations: 349.7 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.6325, allocations: 167.6 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.6326, allocations: 11.97 kB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.6327, allocations: 71.84 kB / 0.7697 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.6328, allocations: 55.75 kB / 0.7698 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.6329, allocations: 12 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.6334, allocations: 239.8 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.6335, allocations: 43.89 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.6336, allocations: 63.7 kB / 0.7701 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.6342, allocations: 303 kB / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6342, allocations: 4 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6342, allocations: 0 / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.6342, allocations: 4 kB / 0.7704 GB, free: 420 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.0008698/0.6351, allocations: 477.5 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6352, allocations: 12.03 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.6352, allocations: 8.844 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.6355, allocations: 212 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6356, allocations: 16.31 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.6356, allocations: 8.375 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.6358, allocations: 96.8 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6359, allocations: 192 / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6359, allocations: 3.938 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.6359, allocations: 4 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.636, allocations: 47.91 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.6364, allocations: 243.4 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.6365, allocations: 111.8 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.6367, allocations: 74.7 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.6367, allocations: 0 / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.637, allocations: 138.5 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.637, allocations: 0 / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004774/0.6375, allocations: 214.1 kB / 0.772 GB, free: 14.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.6376, allocations: 126.7 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.6378, allocations: 140.7 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.6378, allocations: 37.69 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.6379, allocations: 104.7 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.638, allocations: 51.3 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.6381, allocations: 57.69 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6383, allocations: 326.8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.6384, allocations: 56.25 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.6386, allocations: 176.5 kB / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.6388, allocations: 138.4 kB / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.6388, allocations: 0 / 0.7732 GB, free: 13.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003314/0.6392, allocations: 201.6 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6392, allocations: 4 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.6392, allocations: 8 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6393, allocations: 7.984 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.6394, allocations: 19.92 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.6394, allocations: 4.062 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.6396, allocations: 49.67 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.6397, allocations: 4 kB / 0.7735 GB, free: 12.96 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.0001599/0.6398, allocations: 142.5 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.6399, allocations: 15.75 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.6399, allocations: 16.72 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6399, allocations: 7.938 kB / 0.7736 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6399, allocations: 7.938 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.64, allocations: 0 / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.6402, allocations: 217.4 kB / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.6402, allocations: 0 / 0.7739 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.6402, allocations: 8 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6402, allocations: 4 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6403, allocations: 3.984 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6403, allocations: 4 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6403, allocations: 0 / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.6406, allocations: 212.7 kB / 0.7741 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.6407, allocations: 92.91 kB / 0.7742 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.6407, allocations: 4 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.6408, allocations: 7.938 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.6408, allocations: 11.98 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.6409, allocations: 8 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.033e-05/0.641, allocations: 109.9 kB / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.641, allocations: 0 / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004101/0.6414, allocations: 103.9 kB / 0.7744 GB, free: 11.91 MB / 0.545 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.0003925/0.6418, allocations: 195.1 kB / 0.7746 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.6421, allocations: 220.9 kB / 0.7748 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6422, allocations: 0 / 0.7748 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.6423, allocations: 60.11 kB / 0.7749 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.6425, allocations: 8 kB / 0.7749 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.643, allocations: 270.6 kB / 0.7751 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6434, allocations: 0.7123 MB / 0.7758 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.6434, allocations: 15.44 kB / 0.7758 GB, free: 10.35 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6434, allocations: 4 kB / 0.7758 GB, free: 10.35 MB / 0.545 GB Notification: Performance of Templates: time 0.006593/0.65, allocations: 3.127 MB / 0.7789 GB, free: 7.25 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)