Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001328/0.001328, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.693/2.693, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.81 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3863, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004463/0.3908, allocations: 1.489 MB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3925, allocations: 0.6866 MB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3927, allocations: 3.938 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.3928, allocations: 11.92 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.393, allocations: 11.86 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3944, allocations: 348.2 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.3947, allocations: 171.6 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.3948, allocations: 12 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.395, allocations: 71.81 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3951, allocations: 47.83 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3952, allocations: 12 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.3957, allocations: 255.7 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3958, allocations: 43.88 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3959, allocations: 59.73 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.3964, allocations: 299.3 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.3964, allocations: 4 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3964, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3964, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 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.000852/0.3973, allocations: 467 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.3974, allocations: 12.92 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.296e-05/0.3975, allocations: 24.73 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.3978, allocations: 212.1 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3978, allocations: 8.375 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.3979, allocations: 8.375 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3981, allocations: 103.1 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3981, allocations: 4.188 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3982, allocations: 7.938 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3982, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3983, allocations: 51.91 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.3987, allocations: 243.4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3989, allocations: 107.8 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.399, allocations: 74.7 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.399, allocations: 0 / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.3994, allocations: 135.3 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3994, allocations: 4 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0005539/0.4, allocations: 217.3 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.4001, allocations: 122.7 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4003, allocations: 133.8 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.4003, allocations: 45.64 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.4004, allocations: 100.6 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.4005, allocations: 55.25 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.4007, allocations: 65.69 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4009, allocations: 322.8 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.401, allocations: 60.11 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4013, allocations: 172.5 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.4015, allocations: 134.5 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4015, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004032/0.4019, allocations: 209.2 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.402, allocations: 4 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/0.402, allocations: 4 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.4021, allocations: 4 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4022, allocations: 15.92 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.4022, allocations: 8 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.4025, allocations: 43.8 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.4025, allocations: 16 kB / 1.025 GB, free: 2.906 MB / 0.795 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.00019/0.4027, allocations: 136.2 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4028, allocations: 19.83 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.4028, allocations: 12.72 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4028, allocations: 4 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4028, allocations: 0 / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4028, allocations: 0 / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4031, allocations: 213.4 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4031, allocations: 8 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.4032, allocations: 8 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4032, allocations: 0 / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4032, allocations: 4 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4032, allocations: 3.984 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4032, allocations: 0.9375 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.4036, allocations: 218.4 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.4037, allocations: 89.02 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.4038, allocations: 7.984 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.4038, allocations: 3.938 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.4039, allocations: 15.98 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4039, allocations: 4 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.895e-05/0.404, allocations: 106.1 kB / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.404, allocations: 0 / 1.026 GB, free: 1.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004635/0.4045, allocations: 103.9 kB / 1.026 GB, free: 1.871 MB / 0.795 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.0004742/0.405, allocations: 211.8 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.4055, allocations: 224.9 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4055, allocations: 4 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4056, allocations: 55.92 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.4058, allocations: 5.5 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.4064, allocations: 248.8 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.4068, allocations: 0.7086 MB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.037e-05/0.4069, allocations: 8.891 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.407, allocations: 15.44 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.407, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of Templates: time 0.008849/0.4158, allocations: 3.089 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches