Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007883/0.0007883, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007825/0.0007825, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.863/0.863, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.708/1.708, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.826e-05, allocations: 5.234 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001671/0.00169, allocations: 1.486 MB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006872/0.002377, allocations: 0.6349 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.002411, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.575e-05/0.002477, allocations: 7.938 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.002532, allocations: 19.78 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.00316, allocations: 357 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.003326, allocations: 175.6 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.003365, allocations: 7.984 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.003452, allocations: 91.86 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.003513, allocations: 39.89 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.003538, allocations: 12 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.003799, allocations: 283.5 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.003856, allocations: 43.91 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.003906, allocations: 39.91 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.00422, allocations: 355.2 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004222, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004223, allocations: 4 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004226, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 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.0004296/0.004655, allocations: 413.3 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.004687, allocations: 8.75 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.00473, allocations: 16.84 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004878, allocations: 153.5 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.00489, allocations: 8.375 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.004909, allocations: 8.375 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.005038, allocations: 96.8 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005047, allocations: 8.172 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005055, allocations: 384 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005061, allocations: 4.375 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.005129, allocations: 51.84 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.00528, allocations: 167.1 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.005374, allocations: 95.83 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.005442, allocations: 66.7 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.005451, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.005605, allocations: 141.8 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 7.81e-07/0.005606, allocations: 4 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0002849/0.005891, allocations: 213.4 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.005943, allocations: 126.7 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.006024, allocations: 143.5 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.006047, allocations: 37.7 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.006088, allocations: 96.62 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.006133, allocations: 55.53 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.00619, allocations: 65.69 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.006266, allocations: 322.8 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.006329, allocations: 56.25 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.006546, allocations: 459.2 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.006682, allocations: 142.5 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006684, allocations: 0 / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00019/0.006874, allocations: 197.4 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.006886, allocations: 8 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.006904, allocations: 4 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006915, allocations: 3.938 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.006976, allocations: 19.92 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.006981, allocations: 0 / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.007094, allocations: 51.73 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.007104, allocations: 16 kB / 1.007 GB, free: 5.977 MB / 0.9636 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 8.258e-05/0.007187, allocations: 144.5 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.007198, allocations: 7.953 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.007222, allocations: 16.78 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007224, allocations: 3.938 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007228, allocations: 0 / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007233, allocations: 4 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.748e-05/0.00732, allocations: 145.1 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007321, allocations: 0 / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.007345, allocations: 11.98 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007347, allocations: 8 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.007354, allocations: 0 / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007355, allocations: 4 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.007358, allocations: 3.938 kB / 1.008 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.007541, allocations: 210.6 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.007551, allocations: 15.89 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007566, allocations: 4 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.52e-05/0.007591, allocations: 4 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.00763, allocations: 15.97 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.007636, allocations: 4 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.007679, allocations: 109.1 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007679, allocations: 0 / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002095/0.007889, allocations: 107.7 kB / 1.008 GB, free: 5.105 MB / 0.9636 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.000214/0.008103, allocations: 215.5 kB / 1.008 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.008318, allocations: 208.5 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.008321, allocations: 4 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.008371, allocations: 47.91 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.008494, allocations: 8.109 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.008815, allocations: 281.5 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.008874, allocations: 96.8 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.008898, allocations: 16.5 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.008898, allocations: 0 / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of Templates: time 0.003272/0.01217, allocations: 3.169 MB / 1.012 GB, free: 1.012 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.642629467882216]