Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.01077/0.01077, allocations: 103.6 kB / 15.73 MB, free: 6 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.001217/0.001217, allocations: 192.2 kB / 16.67 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.456/2.456, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417/1.419, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003204/1.422, allocations: 1.493 MB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001269/1.423, allocations: 0.6886 MB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/1.423, allocations: 1.219 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/1.423, allocations: 16.17 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/1.423, allocations: 12.97 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/1.425, allocations: 346.8 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/1.425, allocations: 175.4 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/1.425, allocations: 8.734 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/1.425, allocations: 68.61 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/1.425, allocations: 56.77 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/1.425, allocations: 11.59 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/1.426, allocations: 252.4 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/1.426, allocations: 34.17 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/1.426, allocations: 64.53 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005875/1.427, allocations: 302.6 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.427, allocations: 0 / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/1.427, allocations: 0.9062 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.235e-05/1.427, allocations: 0 / 1.091 GB, free: 3.5 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.0007225/1.427, allocations: 484.3 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.427, allocations: 9.281 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/1.427, allocations: 12.09 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/1.428, allocations: 204.4 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.428, allocations: 5.938 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/1.428, allocations: 12.44 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/1.428, allocations: 109.8 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.428, allocations: 1.469 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.428, allocations: 4.547 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.428, allocations: 1.156 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/1.428, allocations: 46.03 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/1.429, allocations: 246.5 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/1.429, allocations: 110.1 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.429, allocations: 70.28 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/1.429, allocations: 5.422 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/1.429, allocations: 143.5 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/1.429, allocations: 0 / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0005241/1.43, allocations: 217.9 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/1.43, allocations: 115.7 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/1.43, allocations: 141.1 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/1.43, allocations: 43.59 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/1.43, allocations: 94.95 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/1.43, allocations: 63.5 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.43, allocations: 60.89 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/1.43, allocations: 327.7 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/1.43, allocations: 47.94 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/1.431, allocations: 177.6 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/1.431, allocations: 133.2 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.431, allocations: 4 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003607/1.431, allocations: 202.7 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.431, allocations: 5.094 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.431, allocations: 5.109 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.431, allocations: 1.438 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.432, allocations: 16.25 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.432, allocations: 6.094 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/1.432, allocations: 46.25 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/1.432, allocations: 11.42 kB / 1.094 GB, free: 1.043 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.0001213/1.432, allocations: 131.1 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/1.432, allocations: 18.23 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/1.432, allocations: 17.5 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.432, allocations: 9.875 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.432, allocations: 1.094 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.432, allocations: 1.391 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/1.432, allocations: 208.3 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.432, allocations: 1.5 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/1.432, allocations: 14.02 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.432, allocations: 0.8438 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.432, allocations: 8.109 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.432, allocations: 1.375 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.432, allocations: 0.875 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/1.433, allocations: 222 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/1.433, allocations: 90.02 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/1.433, allocations: 3.141 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/1.433, allocations: 12.73 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.433, allocations: 8 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/1.433, allocations: 5.062 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.867e-05/1.433, allocations: 111.2 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.433, allocations: 0 / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005568/1.434, allocations: 107 kB / 1.095 GB, free: 312 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.0003691/1.434, allocations: 201.5 kB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003874/1.434, allocations: 218.8 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.434, allocations: 0 / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/1.434, allocations: 53.33 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/1.435, allocations: 17.11 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/1.435, allocations: 246.2 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.436, allocations: 0.7107 MB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.745e-05/1.436, allocations: 11.91 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/1.436, allocations: 13.97 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.436, allocations: 4 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.009126/1.445, allocations: 3.152 MB / 1.1 GB, free: 14.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches