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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001142/0.001142, allocations: 98.88 kB / 16.02 MB, free: 76 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.001806/0.001805, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.716/1.716, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.897/2.897, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004101, allocations: 11.98 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7598, allocations: 153.8 MB / 1.024 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00179/0.7616, allocations: 1.203 MB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.7629, allocations: 0.7127 MB / 1.026 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.763, allocations: 4 kB / 1.026 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.388e-05/0.7631, allocations: 7.938 kB / 1.026 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.7632, allocations: 11.92 kB / 1.026 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000994/0.7642, allocations: 278.9 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.7645, allocations: 163.6 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.7645, allocations: 11.98 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.7647, allocations: 71.75 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.7648, allocations: 51.81 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.7648, allocations: 8 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.7653, allocations: 239.8 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.7653, allocations: 31.89 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.7654, allocations: 81.42 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.7658, allocations: 213.7 kB / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7658, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7658, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.7658, allocations: 0 / 1.027 GB, free: 12.98 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.0006357/0.7665, allocations: 455 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7665, allocations: 8.031 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.7666, allocations: 12.84 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.7668, allocations: 208.1 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.7669, allocations: 8.312 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.7669, allocations: 12.38 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.7671, allocations: 108.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.7671, allocations: 192 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.7672, allocations: 7.922 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.7672, allocations: 7.984 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.411e-05/0.7673, allocations: 39.98 kB / 1.028 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.7676, allocations: 247.3 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.7677, allocations: 107.9 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.7678, allocations: 74.61 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.7678, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.7681, allocations: 148.5 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.7681, allocations: 3.938 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004413/0.7686, allocations: 209.5 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.7687, allocations: 114.8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.7688, allocations: 147.8 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.7688, allocations: 33.7 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.7689, allocations: 96.7 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.769, allocations: 59.28 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.7691, allocations: 33.7 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7692, allocations: 326.8 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.7693, allocations: 52.25 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.7695, allocations: 184.3 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.7698, allocations: 130.5 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7698, allocations: 0 / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003186/0.7701, allocations: 197.3 kB / 1.03 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7701, allocations: 11.92 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.7702, allocations: 4 kB / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7702, allocations: 8 kB / 1.03 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.7703, allocations: 15.94 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7703, allocations: 4 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.7706, allocations: 55.78 kB / 1.03 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.7706, allocations: 8 kB / 1.03 GB, free: 9.562 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.0001361/0.7707, allocations: 140.6 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.7708, allocations: 19.89 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.7708, allocations: 16.69 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7708, allocations: 4 kB / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.7708, allocations: 0 / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7709, allocations: 0 / 1.03 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.7711, allocations: 205.5 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.7711, allocations: 7.938 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.7712, allocations: 12 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.7712, allocations: 0 / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.7712, allocations: 12 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7713, allocations: 3.938 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7713, allocations: 0 / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.7717, allocations: 214.5 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.7718, allocations: 88.95 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.7718, allocations: 4 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.7719, allocations: 19.92 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.7719, allocations: 7.984 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.7719, allocations: 4 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.496e-05/0.772, allocations: 108.5 kB / 1.031 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.772, allocations: 0 / 1.031 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004175/0.7725, allocations: 103.9 kB / 1.031 GB, free: 8.508 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.0004367/0.7729, allocations: 204.3 kB / 1.031 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.7733, allocations: 213 kB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7733, allocations: 0 / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.7734, allocations: 59.91 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.7737, allocations: 11.91 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.7743, allocations: 314 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.7747, allocations: 0.7087 MB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.7747, allocations: 15.44 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/0.7747, allocations: 0 / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.007694/0.7824, allocations: 3.089 MB / 1.035 GB, free: 3.848 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches