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.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.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.0009809/0.000981, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001089/0.001089, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 240 MB, free: 5.203 MB / 190.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.908/2.908, allocations: 437.7 MB / 0.7117 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 8 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8721, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002366/0.8746, allocations: 1.184 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.876, allocations: 0.6469 MB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.8761, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.8762, allocations: 7.922 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.8763, allocations: 15.81 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.8775, allocations: 279.4 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.8779, allocations: 147.6 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.878, allocations: 11.98 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.8782, allocations: 67.83 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.8783, allocations: 47.81 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.8784, allocations: 8 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.879, allocations: 219.8 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.8791, allocations: 27.91 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.8792, allocations: 53.62 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.8797, allocations: 209.5 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8797, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8797, allocations: 0 / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.8797, allocations: 0 / 1.025 GB, free: 13.11 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.0008354/0.8806, allocations: 450.9 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8806, allocations: 12.56 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.8807, allocations: 11.91 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.881, allocations: 216.7 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.881, allocations: 11.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.8811, allocations: 19.89 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.8813, allocations: 92.23 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.8813, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8814, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.8814, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.8815, allocations: 47.91 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.8818, allocations: 247.3 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.882, allocations: 107.9 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.8821, allocations: 74.66 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.8822, allocations: 4 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.8825, allocations: 134.9 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.8825, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0004781/0.8829, allocations: 217.6 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.883, allocations: 118.8 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.8832, allocations: 146.8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.8832, allocations: 33.7 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.8833, allocations: 104.7 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.8834, allocations: 55.3 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.8834, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8836, allocations: 326.8 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.8837, allocations: 56.25 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.8839, allocations: 185.9 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.8841, allocations: 63.94 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8841, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004498/0.8845, allocations: 201.3 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8845, allocations: 7.953 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.8846, allocations: 4 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8846, allocations: 4 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8847, allocations: 19.92 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.8847, allocations: 4 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.885, allocations: 55.8 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.885, allocations: 11.94 kB / 1.028 GB, free: 9.797 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.8852, allocations: 144.1 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.8852, allocations: 11.81 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.8853, allocations: 20.67 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8853, allocations: 8 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8853, allocations: 0 / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8853, allocations: 3.984 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8855, allocations: 197.5 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8855, allocations: 0 / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.8856, allocations: 11.98 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8856, allocations: 4 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8856, allocations: 4 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8856, allocations: 7.953 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8856, allocations: 0 / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.886, allocations: 207.9 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.8861, allocations: 96.84 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.8861, allocations: 4 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.8862, allocations: 11.94 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.8862, allocations: 11.94 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.8863, allocations: 8 kB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.221e-05/0.8863, allocations: 110.7 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8864, allocations: 0 / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004347/0.8868, allocations: 103.9 kB / 1.029 GB, free: 8.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004643/0.8873, allocations: 203.3 kB / 1.029 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.8877, allocations: 221.3 kB / 1.029 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8877, allocations: 0 / 1.029 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.8878, allocations: 55.92 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.888, allocations: 8.219 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.8886, allocations: 279.8 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.8889, allocations: 0.7048 MB / 1.03 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.889, allocations: 12.88 kB / 1.03 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.889, allocations: 19.38 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.889, allocations: 0 / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of Templates: time 0.006764/0.8958, allocations: 2.864 MB / 1.033 GB, free: 4.352 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