Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001533/0.001533, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.52/1.52, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003085/1.017, allocations: 1.489 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001211/1.018, allocations: 0.6933 MB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/1.018, allocations: 1.312 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.95e-05/1.018, allocations: 12.23 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/1.018, allocations: 12.7 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/1.02, allocations: 352.1 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000314/1.02, allocations: 174.6 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/1.02, allocations: 6.297 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/1.02, allocations: 72.69 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/1.02, allocations: 44.88 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/1.02, allocations: 15.25 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/1.021, allocations: 251 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/1.021, allocations: 39.14 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/1.021, allocations: 60.89 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005607/1.022, allocations: 302 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.022, allocations: 1.391 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.275e-06/1.022, allocations: 0 / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.393e-06/1.022, allocations: 0 / 1.092 GB, free: 3.488 MB / 0.8575 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.0006983/1.022, allocations: 471.5 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.022, allocations: 14.69 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/1.022, allocations: 11.19 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/1.023, allocations: 217 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.023, allocations: 5.078 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/1.023, allocations: 13.09 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.023, allocations: 99.53 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.023, allocations: 192 / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.023, allocations: 9.609 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.023, allocations: 1.469 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/1.023, allocations: 46.12 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/1.023, allocations: 246.4 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/1.024, allocations: 113.9 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.024, allocations: 69.55 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/1.024, allocations: 5.531 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/1.024, allocations: 138.1 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/1.024, allocations: 0 / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004806/1.025, allocations: 220.8 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/1.025, allocations: 120.7 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.025, allocations: 146.6 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.025, allocations: 39.56 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/1.025, allocations: 95.58 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/1.025, allocations: 60.11 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.025, allocations: 60.03 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/1.025, allocations: 328.5 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.025, allocations: 47.52 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/1.026, allocations: 181.5 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/1.026, allocations: 129.2 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.026, allocations: 9.062 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003627/1.026, allocations: 204.1 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.026, allocations: 6.078 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/1.026, allocations: 4.609 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.026, allocations: 1.781 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/1.026, allocations: 17.19 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.026, allocations: 0.875 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/1.027, allocations: 46.5 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/1.027, allocations: 10.53 kB / 1.095 GB, free: 1.027 MB / 0.8575 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.0001274/1.027, allocations: 140.4 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/1.027, allocations: 17.22 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.027, allocations: 17.33 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.027, allocations: 1.969 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.027, allocations: 1.969 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.027, allocations: 1.406 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.027, allocations: 200.5 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.027, allocations: 5.172 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/1.027, allocations: 17.5 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/1.027, allocations: 6.234 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/1.027, allocations: 3.109 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.027, allocations: 1.906 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.027, allocations: 0.75 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/1.028, allocations: 213.2 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/1.028, allocations: 94.38 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/1.028, allocations: 3.094 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/1.028, allocations: 8.797 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/1.028, allocations: 12.16 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/1.028, allocations: 8.391 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.713e-05/1.028, allocations: 107.2 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005271/1.028, allocations: 106.1 kB / 1.096 GB, free: 300 kB / 0.8575 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.0003853/1.029, allocations: 200.6 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003874/1.029, allocations: 222 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.029, allocations: 5 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/1.029, allocations: 54.31 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/1.03, allocations: 8.797 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/1.03, allocations: 277.5 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.031, allocations: 0.7139 MB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/1.031, allocations: 16.09 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.031, allocations: 0 / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.008836/1.04, allocations: 3.132 MB / 1.1 GB, free: 14.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time