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.01099/0.01099, allocations: 102 kB / 15.73 MB, free: 6.035 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.001597/0.001597, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.69/2.69, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 65.45 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4129, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004346/0.4173, allocations: 1.483 MB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.4192, allocations: 0.7021 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4193, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.4195, allocations: 7.875 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.4196, allocations: 15.86 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.4212, allocations: 341.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.4216, allocations: 175.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.4217, allocations: 7.984 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.4219, allocations: 67.83 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.4222, allocations: 47.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.238e-05/0.4223, allocations: 12 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.4229, allocations: 247.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.4231, allocations: 47.88 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.4232, allocations: 59.72 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.4241, allocations: 303.3 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.4241, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.637e-06/0.4241, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.4242, allocations: 0 / 1.091 GB, free: 14.04 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.001215/0.4254, allocations: 484.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.4254, allocations: 8.031 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.4256, allocations: 12.84 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.426, allocations: 208.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.426, allocations: 12.31 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.426, allocations: 16.31 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.4263, allocations: 104.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4264, allocations: 192 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.4264, allocations: 3.938 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4264, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.4266, allocations: 47.91 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.427, allocations: 247.4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.4273, allocations: 103.8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4274, allocations: 74.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4274, allocations: 8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.4279, allocations: 134.9 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.4279, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005742/0.4285, allocations: 213.4 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.4286, allocations: 114.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4288, allocations: 153.1 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.4289, allocations: 37.69 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.429, allocations: 92.7 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.4291, allocations: 55.34 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4292, allocations: 61.69 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4294, allocations: 326.8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.4296, allocations: 52.25 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.4299, allocations: 188.4 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4301, allocations: 126.4 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.4302, allocations: 4 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003894/0.4306, allocations: 205.3 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4306, allocations: 8 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/0.4306, allocations: 4.938 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4306, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4308, allocations: 19.98 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4308, allocations: 4 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.431, allocations: 47.8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4311, allocations: 4 kB / 1.094 GB, free: 10.58 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.0001726/0.4312, allocations: 152.1 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.4313, allocations: 15.75 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.4313, allocations: 12.72 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4313, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.4314, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4314, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4316, allocations: 205.5 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4316, allocations: 3.938 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.4317, allocations: 15.94 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4317, allocations: 8 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4317, allocations: 3.984 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4317, allocations: 4 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4317, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.4321, allocations: 210.5 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.4321, allocations: 88.95 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4322, allocations: 11.98 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.4322, allocations: 11.94 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.4323, allocations: 11.92 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.4323, allocations: 8 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.945e-05/0.4324, allocations: 107.2 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4324, allocations: 0 / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004308/0.4329, allocations: 99.98 kB / 1.095 GB, free: 9.52 MB / 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.0004088/0.4333, allocations: 195.1 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.4337, allocations: 231.9 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4337, allocations: 0 / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4338, allocations: 55.92 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4341, allocations: 10.19 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.4347, allocations: 248.7 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.4352, allocations: 0.7123 MB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.4353, allocations: 13.16 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.4353, allocations: 19.42 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of SimCode: time 1.092e-06/0.4353, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.008597/0.4439, allocations: 3.106 MB / 1.1 GB, free: 4.891 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches