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.00149/0.00149, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001411/0.001412, allocations: 187 kB / 17.34 MB, free: 5.766 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.586/1.586, 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.586/2.586, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 75.88 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003066/1.098, allocations: 1.492 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00118/1.099, allocations: 0.6806 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/1.099, allocations: 0.875 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/1.099, allocations: 8.172 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/1.099, allocations: 17.67 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/1.1, allocations: 351.5 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/1.101, allocations: 171.5 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/1.101, allocations: 10.45 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/1.101, allocations: 72.11 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/1.101, allocations: 51.98 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/1.101, allocations: 16.25 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/1.102, allocations: 247.1 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/1.102, allocations: 39.28 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/1.102, allocations: 64.58 kB / 1.092 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005272/1.102, allocations: 301.6 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.102, allocations: 0.875 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/1.102, allocations: 0 / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.102, allocations: 0 / 1.092 GB, free: 3.5 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.0006972/1.103, allocations: 473 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.103, allocations: 10.22 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/1.103, allocations: 14.62 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/1.103, allocations: 214.8 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.103, allocations: 6.125 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/1.104, allocations: 12.44 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.104, allocations: 95.73 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.104, allocations: 5.125 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.104, allocations: 8.844 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.104, allocations: 1.922 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/1.104, allocations: 40.56 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/1.104, allocations: 250.7 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/1.104, allocations: 106.4 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/1.104, allocations: 85.73 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/1.105, allocations: 1.375 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/1.105, allocations: 132.1 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/1.105, allocations: 0.7812 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.000466/1.105, allocations: 221 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/1.105, allocations: 124.3 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.106, allocations: 140.6 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/1.106, allocations: 39.62 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/1.106, allocations: 95.56 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/1.106, allocations: 55.98 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.106, allocations: 60.16 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/1.106, allocations: 328.2 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/1.106, allocations: 52.03 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/1.106, allocations: 177 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/1.106, allocations: 141.5 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.106, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003549/1.107, allocations: 204.5 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.107, allocations: 8.422 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.107, allocations: 4.828 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.107, allocations: 1.75 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.107, allocations: 16.22 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.107, allocations: 2.938 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.107, allocations: 45.34 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.107, allocations: 14.41 kB / 1.095 GB, free: 1.039 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.000124/1.107, allocations: 136.2 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/1.107, allocations: 18.14 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/1.108, allocations: 17.2 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.108, allocations: 2.344 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.108, allocations: 0.8438 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.108, allocations: 2.219 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/1.108, allocations: 204.2 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.108, allocations: 4.594 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/1.108, allocations: 14.17 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.108, allocations: 1.781 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.108, allocations: 7.641 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.108, allocations: 0.9375 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.108, allocations: 5.391 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/1.108, allocations: 213.8 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/1.108, allocations: 93.98 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/1.108, allocations: 3.453 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/1.108, allocations: 11.55 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/1.108, allocations: 13.06 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/1.108, allocations: 4.094 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.102e-05/1.109, allocations: 105.1 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.109, allocations: 0 / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005403/1.109, allocations: 106.2 kB / 1.096 GB, free: 312 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.0003718/1.109, allocations: 206.6 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000393/1.11, allocations: 214 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.11, allocations: 0 / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/1.11, allocations: 55.17 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/1.11, allocations: 8.234 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/1.111, allocations: 276.9 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/1.111, allocations: 0.7102 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/1.111, allocations: 19.83 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/1.111, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.007527/1.119, allocations: 3.133 MB / 1.1 GB, free: 14.73 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