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.000959/0.000959, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001349/0.001349, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8957/0.8957, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.7 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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.909e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001868/0.001887, allocations: 1.472 MB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.002602, allocations: 0.6349 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.002649, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.616e-05/0.002725, allocations: 11.88 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.002792, allocations: 11.86 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.003595, allocations: 369.9 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.003805, allocations: 171.6 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.003848, allocations: 7.984 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.003938, allocations: 95.86 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.004008, allocations: 39.88 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.004031, allocations: 12 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.004368, allocations: 279.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.004424, allocations: 35.89 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.00448, allocations: 47.91 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.004835, allocations: 359.1 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004838, allocations: 7.938 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004839, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.004843, allocations: 0 / 1.003 GB, free: 10.04 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.0004667/0.00531, allocations: 401.4 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005347, allocations: 8.75 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.005379, allocations: 38.75 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.005421, allocations: 16.84 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.005586, allocations: 155 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.005599, allocations: 8.375 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005618, allocations: 16.38 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.005775, allocations: 92.73 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.005784, allocations: 4.188 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.005797, allocations: 8.359 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005803, allocations: 4.125 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.005872, allocations: 43.86 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.006108, allocations: 206.5 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.006228, allocations: 99.83 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.006297, allocations: 62.7 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.006311, allocations: 8 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.006522, allocations: 140.3 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.006524, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0003197/0.006844, allocations: 221.3 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.006904, allocations: 118.8 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.006993, allocations: 139.9 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.007019, allocations: 37.7 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.007064, allocations: 96.62 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.007111, allocations: 51.59 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.007174, allocations: 65.69 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.007267, allocations: 322.8 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.007332, allocations: 64.19 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.007556, allocations: 463.2 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.007693, allocations: 126.4 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.007695, allocations: 0 / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001962/0.007891, allocations: 201.5 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.007907, allocations: 11.94 kB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.007927, allocations: 4.141 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007941, allocations: 0 / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.008021, allocations: 19.97 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008026, allocations: 0 / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.008159, allocations: 59.73 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.00817, allocations: 11.94 kB / 1.006 GB, free: 6.406 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 9.535e-05/0.008265, allocations: 136.5 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.008282, allocations: 11.89 kB / 1.006 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.008311, allocations: 16.78 kB / 1.006 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008313, allocations: 0 / 1.006 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.008321, allocations: 4 kB / 1.006 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.008325, allocations: 0 / 1.006 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.008444, allocations: 168.7 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008446, allocations: 4 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.008479, allocations: 11.94 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.008483, allocations: 7.938 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.008494, allocations: 3.984 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.0085, allocations: 8 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008502, allocations: 0 / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.008708, allocations: 206.6 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.008722, allocations: 15.89 kB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.008741, allocations: 11.92 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.008771, allocations: 4 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.008819, allocations: 19.86 kB / 1.007 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.008827, allocations: 8 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.008876, allocations: 108.7 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008876, allocations: 0 / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002789/0.009155, allocations: 99.8 kB / 1.007 GB, free: 5.496 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.0005251/0.00968, allocations: 0.8572 MB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.009918, allocations: 209.3 kB / 1.008 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.009919, allocations: 0 / 1.008 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.009975, allocations: 52.09 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.01011, allocations: 14.06 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.01141, allocations: 1.849 MB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.01148, allocations: 100.8 kB / 1.01 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.01152, allocations: 12.97 kB / 1.01 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.01158, allocations: 32.48 kB / 1.01 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.01158, allocations: 0 / 1.01 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.02906, allocations: 5.421 MB / 1.015 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.693, allocations: 4 kB / 1.015 GB, free: 12.98 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 840.0] 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: 10.720075852237642]