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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7334/0.7334, allocations: 140.1 MB / 156 MB, free: 5.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 186.7 kB / 188.5 MB, free: 15.86 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007444/0.0007444, allocations: 86.31 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001624/0.001624, allocations: 274.3 kB / 0.5729 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005257, allocations: 20 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3696, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5009, allocations: 107.6 MB / 0.8445 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5012, allocations: 75.97 kB / 0.8446 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.5155, allocations: 5.028 MB / 0.8495 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.537e-06/0.5156, allocations: 4 kB / 0.8495 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.5156, allocations: 3.938 kB / 0.8495 GB, free: 13.55 MB / 0.5261 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.0006551/0.5162, allocations: 463 kB / 0.8499 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5163, allocations: 8.031 kB / 0.8499 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.5164, allocations: 12.84 kB / 0.8499 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5167, allocations: 220.2 kB / 0.8502 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5167, allocations: 20.31 kB / 0.8502 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.5168, allocations: 8.375 kB / 0.8502 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.517, allocations: 105.8 kB / 0.8503 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.517, allocations: 3.938 kB / 0.8503 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.517, allocations: 0 / 0.8503 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.517, allocations: 0 / 0.8503 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5171, allocations: 47.97 kB / 0.8503 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.5174, allocations: 255.3 kB / 0.8506 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.5176, allocations: 111.8 kB / 0.8507 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5177, allocations: 78.64 kB / 0.8508 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.5177, allocations: 4 kB / 0.8508 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.518, allocations: 137.8 kB / 0.8509 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.518, allocations: 0 / 0.8509 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.000437/0.5184, allocations: 225.4 kB / 0.8511 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.5185, allocations: 110.8 kB / 0.8512 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5186, allocations: 151.3 kB / 0.8514 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.5187, allocations: 33.7 kB / 0.8514 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.5187, allocations: 96.7 kB / 0.8515 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.5188, allocations: 63.27 kB / 0.8515 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.5188, allocations: 4 kB / 0.8515 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.519, allocations: 322.8 kB / 0.8519 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.5191, allocations: 52.25 kB / 0.8519 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.5193, allocations: 207.4 kB / 0.8521 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.5195, allocations: 130.4 kB / 0.8522 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5195, allocations: 4 kB / 0.8522 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003135/0.5199, allocations: 197.3 kB / 0.8524 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5199, allocations: 4 kB / 0.8524 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.5199, allocations: 11.98 kB / 0.8524 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5199, allocations: 3.938 kB / 0.8524 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.52, allocations: 12 kB / 0.8525 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5201, allocations: 3.938 kB / 0.8525 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.5203, allocations: 51.86 kB / 0.8525 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.5203, allocations: 12 kB / 0.8525 GB, free: 10.1 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.5205, allocations: 148.1 kB / 0.8527 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.5205, allocations: 15.81 kB / 0.8527 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.5206, allocations: 12.72 kB / 0.8527 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.5206, allocations: 7.984 kB / 0.8527 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5206, allocations: 0 / 0.8527 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5206, allocations: 0 / 0.8527 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.5208, allocations: 217.4 kB / 0.8529 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5208, allocations: 3.938 kB / 0.8529 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.5209, allocations: 8 kB / 0.8529 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5209, allocations: 4 kB / 0.8529 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.5209, allocations: 8 kB / 0.8529 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5209, allocations: 3.938 kB / 0.8529 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5209, allocations: 3.984 kB / 0.8529 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.5212, allocations: 210.6 kB / 0.8531 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.5213, allocations: 92.86 kB / 0.8532 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5213, allocations: 11.92 kB / 0.8532 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.5214, allocations: 7.938 kB / 0.8532 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5215, allocations: 11.98 kB / 0.8532 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.5215, allocations: 4 kB / 0.8533 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.5216, allocations: 108.7 kB / 0.8534 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.413e-06/0.5216, allocations: 4 kB / 0.8534 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004464/0.522, allocations: 119.9 kB / 0.8535 GB, free: 9.012 MB / 0.5261 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 (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.0004052/0.5224, allocations: 215.9 kB / 0.8537 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.5228, allocations: 217.3 kB / 0.8539 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5228, allocations: 0 / 0.8539 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.5229, allocations: 51.92 kB / 0.8539 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.5231, allocations: 11.19 kB / 0.8539 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.5236, allocations: 275.8 kB / 0.8542 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.5239, allocations: 0.7128 MB / 0.8549 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.796e-05/0.524, allocations: 13.16 kB / 0.8549 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.524, allocations: 19.44 kB / 0.8549 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.524, allocations: 0 / 0.8549 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of Templates: time 0.006387/0.5304, allocations: 2.885 MB / 0.8578 GB, free: 4.578 MB / 0.5261 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)