Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.00191/0.00191, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002306/0.002306, allocations: 162.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.965/2.965, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] 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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.157e-05, allocations: 6.219 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002597/0.002628, allocations: 1.484 MB / 1.002 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003771, allocations: 0.6264 MB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.003812, allocations: 7.938 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.331e-05/0.003885, allocations: 7.922 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.003949, allocations: 15.86 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.004932, allocations: 354.9 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.005209, allocations: 171.6 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.005249, allocations: 4 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.005382, allocations: 99.84 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.005474, allocations: 47.88 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.005511, allocations: 8 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.005974, allocations: 275.5 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.006055, allocations: 39.91 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.00614, allocations: 43.89 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.006632, allocations: 359.1 kB / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.006635, allocations: 0 / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.22e-07/0.006636, allocations: 0 / 1.004 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00664, allocations: 3.938 kB / 1.004 GB, free: 3.797 MB / 0.9512 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.0006302/0.00727, allocations: 409.3 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.007303, allocations: 8.031 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.007369, allocations: 16.84 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.007597, allocations: 152.1 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.007615, allocations: 8.375 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.007644, allocations: 8.375 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.007844, allocations: 104.7 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.007853, allocations: 192 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.007866, allocations: 4.359 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.007872, allocations: 4.375 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.007975, allocations: 55.84 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.008222, allocations: 167.1 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.008388, allocations: 103.9 kB / 1.005 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.008529, allocations: 58.67 kB / 1.005 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.008545, allocations: 7.984 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.008802, allocations: 137.9 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 1.193e-06/0.008803, allocations: 0 / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.0004529/0.009256, allocations: 217.4 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.00935, allocations: 114.8 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.009478, allocations: 141.8 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.009522, allocations: 41.64 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.009588, allocations: 92.64 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.009658, allocations: 63.53 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.009763, allocations: 65.69 kB / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.009921, allocations: 322.8 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.01002, allocations: 52.2 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.01051, allocations: 463.2 kB / 1.006 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.01072, allocations: 134.5 kB / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01072, allocations: 0 / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003782/0.0111, allocations: 209.4 kB / 1.007 GB, free: 352 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01112, allocations: 10.34 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.01114, allocations: 4.938 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01116, allocations: 3.938 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.01125, allocations: 12 kB / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01125, allocations: 0 / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.01149, allocations: 55.78 kB / 1.007 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01151, allocations: 11.94 kB / 1.007 GB, free: 256 kB / 0.9512 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.0001423/0.01165, allocations: 137 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.01168, allocations: 7.953 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.01172, allocations: 24.84 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.01172, allocations: 7.922 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01173, allocations: 4 kB / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01173, allocations: 0 / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.0119, allocations: 137.2 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.0119, allocations: 0 / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.01195, allocations: 11.94 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01195, allocations: 4 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01196, allocations: 3.984 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01197, allocations: 8 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.01197, allocations: 3.938 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.01228, allocations: 217 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.0123, allocations: 11.95 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01233, allocations: 7.984 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.01238, allocations: 4 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.01243, allocations: 15.92 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.01244, allocations: 4 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.866e-05/0.01253, allocations: 111.2 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01253, allocations: 0 / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003791/0.01291, allocations: 111.7 kB / 1.007 GB, free: 15.37 MB / 0.9669 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.0003555/0.01327, allocations: 210.9 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.01363, allocations: 216.9 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01363, allocations: 0 / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.01373, allocations: 43.92 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01392, allocations: 11.98 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.01443, allocations: 247.8 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01453, allocations: 92.81 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.01458, allocations: 12.97 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.01462, allocations: 20.5 kB / 1.008 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.01462, allocations: 0 / 1.008 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of Templates: time 0.00723/0.02185, allocations: 3.227 MB / 1.011 GB, free: 11.27 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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: 8.889108154922724]