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.00165/0.00165, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.001771/0.001771, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002567/1.057, allocations: 1.489 MB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00113/1.058, allocations: 0.6967 MB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/1.059, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/1.059, allocations: 7.938 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/1.059, allocations: 15.84 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/1.06, allocations: 351.6 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/1.06, allocations: 175.6 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/1.06, allocations: 4 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/1.06, allocations: 71.89 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/1.06, allocations: 55.75 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/1.06, allocations: 12 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/1.061, allocations: 251.7 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/1.061, allocations: 35.89 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/1.061, allocations: 63.72 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/1.061, allocations: 295.7 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.061, allocations: 0 / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.034e-06/1.061, allocations: 3.938 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.061, allocations: 4 kB / 1.171 GB, free: 348 kB / 0.8887 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.0006641/1.062, allocations: 482.5 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.062, allocations: 12.92 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/1.062, allocations: 16.88 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/1.062, allocations: 212.1 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.062, allocations: 8.375 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/1.062, allocations: 8.375 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.062, allocations: 96.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.062, allocations: 8.062 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.062, allocations: 7.938 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.062, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/1.063, allocations: 47.97 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/1.063, allocations: 243.4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/1.063, allocations: 111.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.063, allocations: 78.62 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/1.063, allocations: 3.938 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/1.063, allocations: 143.3 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/1.063, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0004206/1.064, allocations: 209.5 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.064, allocations: 122.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.064, allocations: 140.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.064, allocations: 41.7 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/1.064, allocations: 100.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/1.064, allocations: 55.53 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/1.064, allocations: 61.69 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.064, allocations: 326.8 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/1.065, allocations: 52.25 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.065, allocations: 188.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/1.065, allocations: 130.6 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.065, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002899/1.065, allocations: 202.2 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.065, allocations: 7.938 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.065, allocations: 4 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.065, allocations: 8 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/1.065, allocations: 15.92 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.065, allocations: 4 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/1.066, allocations: 43.84 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.066, allocations: 8 kB / 1.174 GB, free: 12.86 MB / 0.9044 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.000134/1.066, allocations: 136 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.066, allocations: 23.83 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/1.066, allocations: 16.72 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.066, allocations: 4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.066, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.066, allocations: 0 / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/1.066, allocations: 209.5 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.066, allocations: 4 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/1.066, allocations: 8 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.066, allocations: 0 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/1.066, allocations: 11.98 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.066, allocations: 0 / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.066, allocations: 3.938 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/1.067, allocations: 220.3 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/1.067, allocations: 96.94 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/1.067, allocations: 11.98 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/1.067, allocations: 3.938 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/1.067, allocations: 19.98 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.067, allocations: 4 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.836e-05/1.067, allocations: 105.8 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.067, allocations: 4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003618/1.067, allocations: 99.8 kB / 1.175 GB, free: 11.8 MB / 0.9044 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.0003142/1.068, allocations: 203.7 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003294/1.068, allocations: 217 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.068, allocations: 0 / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-05/1.068, allocations: 59.92 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/1.068, allocations: 8 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/1.069, allocations: 286.1 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.069, allocations: 0.7045 MB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/1.069, allocations: 23.38 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of SimCode: time 1.773e-06/1.069, allocations: 4 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.005114/1.074, allocations: 3.115 MB / 1.179 GB, free: 7.129 MB / 0.9044 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