Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001659/0.001664, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.001762, allocations: 193 kB / 16.25 MB, free: 6.637 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.603/1.603, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.058/3.058, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00371/1.135, allocations: 1.542 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001381/1.136, allocations: 0.7008 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/1.136, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/1.136, allocations: 7.922 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/1.136, allocations: 15.86 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/1.138, allocations: 315.1 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/1.138, allocations: 167.6 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/1.138, allocations: 12.03 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/1.138, allocations: 75.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/1.138, allocations: 47.83 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/1.138, allocations: 12 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/1.139, allocations: 251.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/1.139, allocations: 43.88 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/1.139, allocations: 59.73 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/1.139, allocations: 297.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.14, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/1.14, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.14, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 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.0009253/1.14, allocations: 482.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.141, allocations: 8.031 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/1.141, allocations: 16.75 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/1.141, allocations: 212.1 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.141, allocations: 12.38 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/1.141, allocations: 8.375 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/1.141, allocations: 102.2 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.141, allocations: 4.125 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.141, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/1.141, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.141, allocations: 47.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/1.142, allocations: 251.3 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/1.142, allocations: 107.8 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.142, allocations: 70.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/1.142, allocations: 7.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/1.143, allocations: 138.5 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/1.143, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0005197/1.143, allocations: 217.3 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.143, allocations: 114.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.144, allocations: 143.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/1.144, allocations: 41.69 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.144, allocations: 92.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.144, allocations: 59.19 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.144, allocations: 65.69 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.144, allocations: 322.8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/1.144, allocations: 60.11 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/1.144, allocations: 184.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/1.145, allocations: 126.5 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.145, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003404/1.145, allocations: 209.3 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.145, allocations: 8 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.145, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.145, allocations: 3.938 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/1.145, allocations: 19.92 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.145, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/1.146, allocations: 45.77 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.146, allocations: 8 kB / 1.023 GB, free: 11.75 MB / 0.7794 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.0001883/1.146, allocations: 148.1 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.146, allocations: 15.84 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/1.146, allocations: 16.72 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.146, allocations: 3.938 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.146, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.146, allocations: 4 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/1.146, allocations: 205.5 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.146, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/1.146, allocations: 8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/1.146, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/1.146, allocations: 7.984 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.146, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.146, allocations: 7.938 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/1.147, allocations: 213.7 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/1.147, allocations: 88.95 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/1.147, allocations: 11.98 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/1.147, allocations: 11.94 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/1.147, allocations: 11.98 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.147, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001036/1.147, allocations: 109.6 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/1.147, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000437/1.147, allocations: 103.9 kB / 1.024 GB, free: 10.7 MB / 0.7794 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.0004126/1.148, allocations: 199.9 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004082/1.148, allocations: 225.9 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.148, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/1.148, allocations: 51.92 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.149, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/1.149, allocations: 280.8 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/1.15, allocations: 0.7084 MB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.439e-05/1.15, allocations: 12.88 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/1.15, allocations: 11.44 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/1.15, allocations: 11.94 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.008369/1.158, allocations: 3.027 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches