Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002548/0.002548, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.591/1.591, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.464/3.464, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9274/0.9294, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003266/0.9328, allocations: 1.477 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.9341, allocations: 0.6967 MB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.9342, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.447e-05/0.9343, allocations: 7.922 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.9344, allocations: 15.86 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.9355, allocations: 339.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.9357, allocations: 175.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.9358, allocations: 11.97 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.9359, allocations: 71.83 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.936, allocations: 43.83 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.936, allocations: 12 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.9364, allocations: 259.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.9365, allocations: 39.89 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.9366, allocations: 59.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.9371, allocations: 305.3 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9371, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9371, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9371, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 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.0007068/0.9378, allocations: 475 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9379, allocations: 12.03 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.938, allocations: 16.73 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.9382, allocations: 208.1 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.9382, allocations: 12.38 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.9383, allocations: 16.31 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.9385, allocations: 98.19 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9385, allocations: 192 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.9386, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9386, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.9387, allocations: 47.91 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.939, allocations: 259.3 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.9391, allocations: 99.83 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.9392, allocations: 78.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.9393, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.9396, allocations: 138.3 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.9396, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004374/0.94, allocations: 213.4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.9401, allocations: 118.7 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9403, allocations: 142.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.9403, allocations: 33.7 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.9405, allocations: 104.7 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.9405, allocations: 59.19 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.9406, allocations: 57.69 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.9408, allocations: 326.8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.9409, allocations: 60.11 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.9411, allocations: 176.5 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.9413, allocations: 130.4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9414, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000303/0.9417, allocations: 206.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9417, allocations: 5.875 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.9417, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.9417, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.9418, allocations: 23.86 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.9419, allocations: 4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.9421, allocations: 44.78 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.9421, allocations: 8 kB / 1.024 GB, free: 11.53 MB / 0.7794 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.0001401/0.9423, allocations: 144.2 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.9423, allocations: 15.83 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.9423, allocations: 12.72 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9424, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9424, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.9424, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.9426, allocations: 209.4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9426, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.9426, allocations: 19.94 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9426, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.9427, allocations: 11.98 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9427, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9427, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.943, allocations: 222.4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.9431, allocations: 88.95 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.9431, allocations: 7.984 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.9432, allocations: 11.94 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.9433, allocations: 7.984 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.9433, allocations: 8 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.9434, allocations: 107.2 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9434, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003612/0.9438, allocations: 99.94 kB / 1.025 GB, free: 10.48 MB / 0.7794 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.0004125/0.9442, allocations: 203.3 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.9445, allocations: 225 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9445, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.9446, allocations: 55.92 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.9448, allocations: 8 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.9454, allocations: 248.8 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.9458, allocations: 0.7084 MB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.228e-05/0.9458, allocations: 12.83 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.9459, allocations: 19.42 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of SimCode: time 1.994e-06/0.9459, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of Templates: time 0.007499/0.9534, allocations: 3.081 MB / 1.029 GB, free: 5.883 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches