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.001698/0.001698, allocations: 106.7 kB / 16.41 MB, free: 6.027 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.001766/0.001766, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.614/1.614, allocations: 222.9 MB / 241 MB, free: 15.17 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.558/2.558, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003248/1.052, allocations: 1.493 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001304/1.054, allocations: 0.6854 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/1.054, allocations: 0 / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/1.054, allocations: 12.98 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/1.054, allocations: 17.09 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/1.055, allocations: 355.5 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/1.055, allocations: 167.7 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/1.056, allocations: 5.953 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/1.056, allocations: 72.86 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/1.056, allocations: 51.45 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/1.056, allocations: 15.58 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/1.056, allocations: 251.6 kB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/1.056, allocations: 39.48 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.057, allocations: 57.88 kB / 1.092 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/1.057, allocations: 300.9 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.057, allocations: 1 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.255e-06/1.057, allocations: 3.938 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.057, 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.0007206/1.058, allocations: 484.2 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.058, allocations: 8.812 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/1.058, allocations: 12.83 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/1.058, allocations: 206.7 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.058, allocations: 9.484 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/1.058, allocations: 8.969 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.058, allocations: 103.1 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.059, allocations: 1.062 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.059, allocations: 8.875 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.059, allocations: 0.875 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/1.059, allocations: 54.33 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/1.059, allocations: 242.5 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/1.059, allocations: 115 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.059, allocations: 69.17 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/1.059, allocations: 0.75 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/1.06, allocations: 136.9 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/1.06, allocations: 4 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005313/1.06, allocations: 217.2 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/1.06, allocations: 116.8 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/1.06, allocations: 142.5 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/1.061, allocations: 35.41 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/1.061, allocations: 103.6 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/1.061, allocations: 52.19 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.061, allocations: 59.94 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/1.061, allocations: 332.1 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/1.061, allocations: 56.02 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/1.061, allocations: 174.2 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/1.062, allocations: 141.4 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.062, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003828/1.062, allocations: 200.9 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.062, allocations: 5.719 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/1.062, allocations: 4.422 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/1.062, allocations: 2.609 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.062, allocations: 11.78 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.062, allocations: 6.484 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/1.062, allocations: 53.7 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.062, allocations: 7.266 kB / 1.095 GB, free: 1.043 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.000125/1.063, allocations: 139.4 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/1.063, allocations: 18.47 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/1.063, allocations: 16.77 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.063, allocations: 1.969 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.063, allocations: 2.125 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.063, allocations: 5.406 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/1.063, allocations: 209 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.063, allocations: 4.625 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/1.063, allocations: 13.55 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.063, allocations: 1.719 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/1.063, allocations: 3.688 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/1.063, allocations: 0.8125 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.063, allocations: 2.203 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/1.063, allocations: 215.9 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/1.063, allocations: 90.27 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/1.063, allocations: 6.75 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/1.064, allocations: 9.109 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/1.064, allocations: 16.19 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.064, allocations: 4.547 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.535e-05/1.064, allocations: 105.1 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 4 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005557/1.064, allocations: 106.9 kB / 1.096 GB, free: 304 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.000378/1.065, allocations: 196.1 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003871/1.065, allocations: 215.1 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.065, allocations: 0 / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/1.065, allocations: 57.77 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.0002071/1.065, allocations: 9.562 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/1.066, allocations: 281.2 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/1.066, allocations: 0.7062 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/1.067, allocations: 18.88 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.067, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.008112/1.075, allocations: 3.133 MB / 1.1 GB, free: 14.73 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches