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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001427/0.001427, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001382/0.001382, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.536/1.536, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 65.41 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002992/0.3341, allocations: 1.474 MB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3353, allocations: 0.7021 MB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.3354, allocations: 0 / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.817e-05/0.3354, allocations: 11.86 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.3355, allocations: 15.86 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.3365, allocations: 349.2 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3367, allocations: 171.7 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.3368, allocations: 15.98 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3369, allocations: 75.77 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.337, allocations: 43.83 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.337, allocations: 12 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.3374, allocations: 255.7 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.3375, allocations: 35.89 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.3376, allocations: 63.72 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.338, allocations: 291.6 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.338, allocations: 4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.346e-06/0.338, allocations: 4 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.338, allocations: 3.938 kB / 1.021 GB, free: 7.121 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.0006561/0.3387, allocations: 480.8 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3387, allocations: 8.922 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.3388, allocations: 16.75 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.339, allocations: 212.1 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.339, allocations: 4.375 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.3391, allocations: 12.38 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3393, allocations: 100.8 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3393, allocations: 4.125 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3393, allocations: 3.938 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3393, allocations: 4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.3394, allocations: 43.95 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.3397, allocations: 251.4 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3399, allocations: 103.8 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.34, allocations: 70.7 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.34, allocations: 11.88 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3403, allocations: 135.5 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.113e-06/0.3403, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0004277/0.3407, allocations: 217.3 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.3408, allocations: 122.7 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.341, allocations: 136.3 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.341, allocations: 45.69 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.3411, allocations: 92.7 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.3412, allocations: 63.19 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.3413, allocations: 61.69 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3414, allocations: 330.8 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3415, allocations: 52.12 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.3418, allocations: 184.4 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.342, allocations: 126.6 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.342, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003138/0.3423, allocations: 205.3 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3423, allocations: 7.938 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.3423, allocations: 8 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3424, allocations: 0 / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.3425, allocations: 19.92 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3425, allocations: 0 / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.3427, allocations: 47.8 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3427, allocations: 8 kB / 1.024 GB, free: 3.656 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.0001331/0.3429, allocations: 140 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3429, allocations: 15.84 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3429, allocations: 16.86 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.343, allocations: 3.984 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.343, allocations: 4 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.343, allocations: 0 / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3432, allocations: 209.4 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3432, allocations: 0 / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.3432, allocations: 12 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.3433, allocations: 7.984 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3433, allocations: 4 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3433, allocations: 8 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3433, allocations: 0 / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3436, allocations: 214.4 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.3437, allocations: 89 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3437, allocations: 0 / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.3437, allocations: 11.94 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.3438, allocations: 11.98 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.3438, allocations: 4 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.744e-05/0.3439, allocations: 109.9 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3439, allocations: 0 / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003632/0.3443, allocations: 103.9 kB / 1.025 GB, free: 2.609 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.0003264/0.3446, allocations: 208.8 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.345, allocations: 226.2 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.345, allocations: 4 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.3451, allocations: 55.92 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.3453, allocations: 8 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.3458, allocations: 278.9 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3462, allocations: 0.7047 MB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.3462, allocations: 19.38 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3462, allocations: 0 / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of Templates: time 0.005586/0.3518, allocations: 3.11 MB / 1.03 GB, free: 13.95 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=400 -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) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time