Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.554/1.554, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.808/2.808, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.084, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003179/1.087, allocations: 1.491 MB / 0.951 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001194/1.089, allocations: 0.6818 MB / 0.9517 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/1.089, allocations: 5.438 kB / 0.9517 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/1.089, allocations: 9.391 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/1.089, allocations: 10.59 kB / 0.9517 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/1.09, allocations: 350.2 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/1.09, allocations: 162.8 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/1.09, allocations: 13.06 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/1.09, allocations: 66.41 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/1.091, allocations: 56.31 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/1.091, allocations: 13.25 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/1.091, allocations: 261.6 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/1.091, allocations: 37.42 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/1.091, allocations: 62.78 kB / 0.9527 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/1.092, allocations: 295.5 kB / 0.953 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.092, allocations: 0 / 0.953 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/1.092, allocations: 1.094 kB / 0.953 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.092, allocations: 0 / 0.953 GB, free: 6.598 MB / 0.7169 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.0007305/1.093, allocations: 473.2 kB / 0.9534 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.093, allocations: 13.03 kB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/1.093, allocations: 19.55 kB / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/1.093, allocations: 206.1 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.093, allocations: 8.75 kB / 0.9537 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/1.093, allocations: 13.19 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/1.093, allocations: 94.2 kB / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.093, allocations: 1.812 kB / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.093, allocations: 7.938 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.093, allocations: 1.406 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/1.093, allocations: 49.41 kB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/1.094, allocations: 249 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/1.094, allocations: 114.6 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/1.094, allocations: 75.72 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/1.094, allocations: 1.125 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/1.094, allocations: 134.8 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/1.094, allocations: 4 kB / 0.9544 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0005838/1.095, allocations: 218.1 kB / 0.9546 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/1.095, allocations: 121.8 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.095, allocations: 135.5 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.095, allocations: 39.86 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/1.095, allocations: 98.33 kB / 0.955 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/1.095, allocations: 55.84 kB / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/1.095, allocations: 64.53 kB / 0.9551 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/1.096, allocations: 326.8 kB / 0.9554 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/1.096, allocations: 53.97 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/1.096, allocations: 173.9 kB / 0.9556 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/1.096, allocations: 140.1 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.096, allocations: 1.094 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003003/1.096, allocations: 205.3 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.096, allocations: 5.062 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.096, allocations: 5.891 kB / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.096, allocations: 0 / 0.9559 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.097, allocations: 17.36 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.097, allocations: 7.141 kB / 0.956 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/1.097, allocations: 52.8 kB / 0.956 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/1.097, allocations: 6.281 kB / 0.956 GB, free: 3.906 MB / 0.7169 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.0001404/1.097, allocations: 134 kB / 0.9561 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/1.097, allocations: 21.33 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/1.097, allocations: 16.25 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.097, allocations: 2 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.097, allocations: 3.938 kB / 0.9562 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.097, allocations: 9.688 kB / 0.9562 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/1.097, allocations: 209.2 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.097, allocations: 1.844 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/1.097, allocations: 7.156 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.097, allocations: 1.75 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.097, allocations: 3.625 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.097, allocations: 3.984 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.097, allocations: 1.781 kB / 0.9564 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/1.098, allocations: 209.9 kB / 0.9566 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/1.098, allocations: 92.73 kB / 0.9567 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/1.098, allocations: 9.891 kB / 0.9567 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/1.098, allocations: 7.031 kB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/1.098, allocations: 13.39 kB / 0.9567 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.098, allocations: 3.625 kB / 0.9567 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.574e-05/1.098, allocations: 105.8 kB / 0.9568 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.098, allocations: 4 kB / 0.9568 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004573/1.099, allocations: 105.6 kB / 0.9569 GB, free: 3.121 MB / 0.7169 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.00038/1.099, allocations: 200.3 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003871/1.099, allocations: 229.3 kB / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.099, allocations: 0 / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.099, allocations: 56.75 kB / 0.9574 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/1.1, allocations: 8.031 kB / 0.9574 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/1.1, allocations: 245.5 kB / 0.9577 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.1, allocations: 0.7172 MB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.442e-05/1.1, allocations: 8.234 kB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/1.1, allocations: 14.81 kB / 0.9584 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/1.1, allocations: 3.938 kB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.007712/1.108, allocations: 3.083 MB / 0.9614 GB, free: 328 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches