Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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_latest_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_latest_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.001576/0.001576, allocations: 102.2 kB / 16.27 MB, free: 6 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.001425/0.001425, allocations: 191 kB / 17.2 MB, free: 5.609 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.633/2.633, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 72.89 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8367, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002729/0.8395, allocations: 1.48 MB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.8406, allocations: 0.6898 MB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.8407, allocations: 0.625 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.714e-05/0.8408, allocations: 12.88 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.8408, allocations: 12.5 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/0.8418, allocations: 344.7 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.8421, allocations: 166.5 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.8422, allocations: 10.72 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.8423, allocations: 75.45 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.8424, allocations: 52.14 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.8424, allocations: 12.97 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.8429, allocations: 250.6 kB / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.843, allocations: 35.02 kB / 1.086 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.8431, allocations: 64.56 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.8436, allocations: 303.3 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8436, allocations: 0 / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8436, allocations: 4 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.8436, allocations: 1.25 kB / 1.086 GB, free: 15.6 MB / 0.8419 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.0007583/0.8444, allocations: 470.6 kB / 1.087 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.8444, allocations: 8.719 kB / 1.087 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.8445, allocations: 11.56 kB / 1.087 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.8449, allocations: 212.8 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.8449, allocations: 10.06 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.8449, allocations: 8.125 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.8452, allocations: 99.91 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.8452, allocations: 4.688 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.8453, allocations: 13.36 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8453, allocations: 1.828 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.8454, allocations: 45.17 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.8458, allocations: 251.9 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.846, allocations: 110 kB / 1.088 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.8462, allocations: 69.78 kB / 1.088 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8462, allocations: 5.062 kB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.8466, allocations: 144.3 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.8466, allocations: 0 / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0005403/0.8471, allocations: 213.4 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.8473, allocations: 117.2 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.8475, allocations: 141.3 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.8475, allocations: 44.53 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.8476, allocations: 94.66 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.8477, allocations: 53.03 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.8479, allocations: 68.11 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.8481, allocations: 324.8 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.8482, allocations: 49.86 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.8486, allocations: 186.2 kB / 1.089 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.8488, allocations: 125.6 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8488, allocations: 0 / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004021/0.8492, allocations: 209.2 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8493, allocations: 9.688 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/0.8493, allocations: 9.031 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.8494, allocations: 2.594 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.8495, allocations: 14.97 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.8495, allocations: 3.078 kB / 1.089 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.8497, allocations: 46.27 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.8498, allocations: 6.062 kB / 1.089 GB, free: 13.14 MB / 0.8419 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.0001711/0.8499, allocations: 145.7 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.85, allocations: 21.09 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.85, allocations: 15.75 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.85, allocations: 5.375 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.8501, allocations: 1.344 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.8501, allocations: 1.312 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.8503, allocations: 204 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8503, allocations: 1.125 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.8503, allocations: 8.406 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8504, allocations: 2.062 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8504, allocations: 2.812 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8504, allocations: 9.016 kB / 1.09 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8504, allocations: 3.938 kB / 1.09 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.8507, allocations: 214.4 kB / 1.09 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.8508, allocations: 97.8 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.8508, allocations: 7 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.8509, allocations: 10.06 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.851, allocations: 15.45 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.851, allocations: 4.953 kB / 1.09 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.8511, allocations: 105.1 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8511, allocations: 0 / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004793/0.8516, allocations: 101.2 kB / 1.09 GB, free: 12.4 MB / 0.8419 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.0003614/0.8519, allocations: 199.1 kB / 1.09 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.8523, allocations: 218.9 kB / 1.091 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8523, allocations: 4 kB / 1.091 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.8524, allocations: 58.12 kB / 1.091 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.8526, allocations: 14.94 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.8532, allocations: 282.4 kB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.8535, allocations: 0.7099 MB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.8536, allocations: 15.25 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8536, allocations: 0 / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.00651/0.8601, allocations: 3.116 MB / 1.095 GB, free: 10.83 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches