Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009047/0.009047, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001622/0.001622, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.721/2.721, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305/1.307, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003919/1.311, allocations: 1.485 MB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001543/1.312, allocations: 0.6882 MB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/1.313, allocations: 0.75 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/1.313, allocations: 12.44 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/1.313, allocations: 16.44 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/1.314, allocations: 348.3 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000462/1.315, allocations: 175.1 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/1.315, allocations: 10.19 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/1.315, allocations: 69.05 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/1.315, allocations: 56.23 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/1.315, allocations: 10.97 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/1.316, allocations: 247.6 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/1.316, allocations: 38.72 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/1.316, allocations: 61.16 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007934/1.317, allocations: 301.7 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.317, allocations: 0.8125 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.968e-06/1.317, allocations: 0 / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.042e-05/1.317, allocations: 4.875 kB / 1.091 GB, free: 3.477 MB / 0.8575 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.001154/1.318, allocations: 475.8 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/1.318, allocations: 13.55 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/1.318, allocations: 11.56 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/1.319, allocations: 204.9 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/1.319, allocations: 9.812 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/1.319, allocations: 12.64 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/1.319, allocations: 105.6 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.319, allocations: 0.9062 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.319, allocations: 5.672 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.319, allocations: 0.75 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/1.319, allocations: 50.27 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/1.32, allocations: 245.8 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/1.32, allocations: 110 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/1.32, allocations: 74.44 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/1.32, allocations: 6.219 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/1.32, allocations: 135.2 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/1.32, allocations: 0 / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005677/1.321, allocations: 221.7 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/1.321, allocations: 120.1 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.321, allocations: 143.9 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/1.321, allocations: 36.25 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/1.321, allocations: 99.28 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/1.321, allocations: 52.28 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.322, allocations: 59.61 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.322, allocations: 328.2 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/1.322, allocations: 52.3 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/1.322, allocations: 181.3 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/1.323, allocations: 137.3 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.323, allocations: 0 / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004254/1.323, allocations: 200.9 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.323, allocations: 10.53 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.323, allocations: 3.688 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/1.323, allocations: 2 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.323, allocations: 13.05 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.323, allocations: 0.9375 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/1.324, allocations: 51.22 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/1.324, allocations: 5.844 kB / 1.094 GB, free: 1.023 MB / 0.8575 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.0001277/1.324, allocations: 144.8 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/1.324, allocations: 17.12 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/1.324, allocations: 13.28 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.324, allocations: 2.312 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.324, allocations: 4.688 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.324, allocations: 2.219 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/1.324, allocations: 208.8 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.324, allocations: 4.562 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/1.324, allocations: 13.42 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.324, allocations: 2.453 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.324, allocations: 7.078 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.324, allocations: 1.688 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.324, allocations: 1.031 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/1.325, allocations: 209.9 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/1.325, allocations: 90.09 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/1.325, allocations: 6.484 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/1.325, allocations: 13.17 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/1.325, allocations: 15.33 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/1.325, allocations: 6.156 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.435e-05/1.325, allocations: 106 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.325, allocations: 0.5625 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006534/1.326, allocations: 106.1 kB / 1.095 GB, free: 288 kB / 0.8575 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.0004313/1.326, allocations: 198.2 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004123/1.327, allocations: 219.4 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.327, allocations: 0 / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/1.327, allocations: 57.69 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.327, allocations: 7.75 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/1.328, allocations: 256.6 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.328, allocations: 0.7105 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.985e-05/1.328, allocations: 11.38 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/1.328, allocations: 15.34 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.328, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.01005/1.338, allocations: 3.1 MB / 1.1 GB, free: 14.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches