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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001526/0.001526, allocations: 99.83 kB / 16.35 MB, free: 5.828 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.001734/0.001734, allocations: 195.8 kB / 17.29 MB, free: 5.484 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.62 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4164, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003185/0.4196, allocations: 1.489 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.4208, allocations: 0.6928 MB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.4209, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.421, allocations: 15.88 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.4211, allocations: 15.84 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.4221, allocations: 347 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.4224, allocations: 163.6 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.4225, allocations: 11.98 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.4226, allocations: 63.89 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4227, allocations: 55.75 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.4227, allocations: 12 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.4231, allocations: 247.8 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.4232, allocations: 39.89 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.4233, allocations: 59.72 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.4238, allocations: 303.3 kB / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4238, allocations: 0 / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4238, allocations: 0 / 0.9545 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4238, allocations: 0 / 0.9545 GB, free: 4.559 MB / 0.7325 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.000743/0.4246, allocations: 490.8 kB / 0.955 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4246, allocations: 8.031 kB / 0.955 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.4247, allocations: 16.75 kB / 0.955 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.425, allocations: 204.2 kB / 0.9552 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.425, allocations: 8.375 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.425, allocations: 8.375 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.4253, allocations: 110.9 kB / 0.9553 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4253, allocations: 192 / 0.9553 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4253, allocations: 3.938 kB / 0.9553 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4253, allocations: 3.984 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4254, allocations: 51.91 kB / 0.9554 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.4257, allocations: 243.4 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.4259, allocations: 107.8 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.426, allocations: 74.7 kB / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4261, allocations: 0 / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.4264, allocations: 146.9 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.4264, allocations: 0 / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.00045/0.4268, allocations: 213.4 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.427, allocations: 118.8 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4271, allocations: 137.8 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.4272, allocations: 37.69 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.4272, allocations: 100.6 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.4273, allocations: 55.27 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.4274, allocations: 61.69 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4276, allocations: 326.8 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4277, allocations: 52.25 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.4279, allocations: 184.5 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.4281, allocations: 134.5 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4281, allocations: 0 / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002838/0.4284, allocations: 198.1 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4284, allocations: 6.5 kB / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.4285, allocations: 8 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4285, allocations: 0 / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4286, allocations: 23.92 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4286, allocations: 8 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.4288, allocations: 43.8 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.4289, allocations: 8 kB / 0.9576 GB, free: 1.09 MB / 0.7325 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.0001412/0.429, allocations: 140 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.429, allocations: 15.98 kB / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.4291, allocations: 12.7 kB / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4291, allocations: 8 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4291, allocations: 0 / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4291, allocations: 4 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.4293, allocations: 213.4 kB / 0.9579 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4293, allocations: 0 / 0.9579 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.4294, allocations: 15.94 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4294, allocations: 0 / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4294, allocations: 11.92 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4294, allocations: 0 / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4294, allocations: 4 kB / 0.958 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4297, allocations: 216.9 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.4298, allocations: 89 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4298, allocations: 8 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.4299, allocations: 7.938 kB / 0.9583 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4299, allocations: 15.92 kB / 0.9583 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.43, allocations: 4 kB / 0.9583 GB, free: 240 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.43, allocations: 111.2 kB / 0.9584 GB, free: 128 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 0 / 0.9584 GB, free: 128 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003753/0.4304, allocations: 99.92 kB / 0.9585 GB, free: 28 kB / 0.7325 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.0003593/0.4308, allocations: 201.7 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.4312, allocations: 213 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4312, allocations: 0 / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.615e-05/0.4313, allocations: 59.92 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4315, allocations: 12 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.432, allocations: 256.5 kB / 0.9592 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4324, allocations: 0.7045 MB / 0.9599 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.128e-05/0.4324, allocations: 8.891 kB / 0.9599 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.4325, allocations: 15.42 kB / 0.9599 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of SimCode: time 2.415e-06/0.4325, allocations: 8 kB / 0.9599 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.006847/0.4393, allocations: 3.092 MB / 0.9629 GB, free: 11.42 MB / 0.7481 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches