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.00143/0.001429, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001695/0.001695, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.567/1.567, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.755/2.755, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003407/1.038, allocations: 1.547 MB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001308/1.04, allocations: 0.6948 MB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/1.04, allocations: 1.125 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/1.04, allocations: 5 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/1.04, allocations: 11.02 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/1.041, allocations: 318.6 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003805/1.042, allocations: 172.8 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/1.042, allocations: 16.45 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/1.042, allocations: 66.52 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/1.042, allocations: 49.64 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/1.042, allocations: 11 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/1.043, allocations: 254.5 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/1.043, allocations: 34.19 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/1.043, allocations: 71.27 kB / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008265/1.044, allocations: 298.8 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.044, allocations: 1.344 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/1.044, allocations: 0 / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.898e-05/1.044, allocations: 0 / 0.9525 GB, free: 6.574 MB / 0.7169 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.0009111/1.045, allocations: 477.5 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.045, allocations: 9.219 kB / 0.953 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/1.045, allocations: 16.38 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/1.045, allocations: 213.5 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.045, allocations: 5.094 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/1.045, allocations: 12.84 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/1.046, allocations: 95.2 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.046, allocations: 192 / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.046, allocations: 4.719 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.046, allocations: 1.125 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/1.046, allocations: 46.62 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/1.046, allocations: 259.2 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/1.046, allocations: 104.2 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.046, allocations: 74.52 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/1.046, allocations: 5.375 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/1.047, allocations: 140.8 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/1.047, allocations: 0 / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004735/1.047, allocations: 221.3 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.047, allocations: 126.1 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.047, allocations: 140.2 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/1.048, allocations: 39.67 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/1.048, allocations: 92.95 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/1.048, allocations: 59.91 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/1.048, allocations: 59.5 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/1.048, allocations: 331.5 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/1.048, allocations: 53.64 kB / 0.955 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.048, allocations: 174.4 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.048, allocations: 132.1 kB / 0.9553 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.048, allocations: 1.031 kB / 0.9553 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002929/1.049, allocations: 204.6 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.049, allocations: 5.906 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/1.049, allocations: 3.438 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.049, allocations: 2.25 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.049, allocations: 17.36 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.049, allocations: 2.156 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/1.049, allocations: 50.08 kB / 0.9556 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.049, allocations: 13.25 kB / 0.9556 GB, free: 3.883 MB / 0.7169 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.000115/1.049, allocations: 138.1 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/1.049, allocations: 13.69 kB / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/1.049, allocations: 15.19 kB / 0.9557 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.049, allocations: 2.062 kB / 0.9557 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.049, allocations: 4.906 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.049, allocations: 4.984 kB / 0.9557 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/1.049, allocations: 206 kB / 0.9559 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.049, allocations: 1.406 kB / 0.9559 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/1.05, allocations: 16.27 kB / 0.956 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.05, allocations: 1.25 kB / 0.956 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.05, allocations: 6.719 kB / 0.956 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.05, allocations: 1.562 kB / 0.956 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.05, allocations: 0 / 0.956 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/1.05, allocations: 207.8 kB / 0.9562 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/1.05, allocations: 100.7 kB / 0.9563 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/1.05, allocations: 1.094 kB / 0.9563 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/1.05, allocations: 11.5 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/1.05, allocations: 8.766 kB / 0.9563 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/1.05, allocations: 4.969 kB / 0.9563 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.055e-05/1.05, allocations: 112.6 kB / 0.9564 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.05, allocations: 0 / 0.9564 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004319/1.051, allocations: 102.2 kB / 0.9565 GB, free: 3.105 MB / 0.7169 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.0003491/1.051, allocations: 211.2 kB / 0.9567 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003189/1.051, allocations: 221.3 kB / 0.9569 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.051, allocations: 0 / 0.9569 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/1.051, allocations: 56.8 kB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.052, allocations: 12.11 kB / 0.957 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/1.052, allocations: 278.8 kB / 0.9572 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/1.052, allocations: 0.7066 MB / 0.9579 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.167e-05/1.052, allocations: 15.75 kB / 0.9579 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/1.052, allocations: 18.25 kB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/1.052, allocations: 0 / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.006518/1.059, allocations: 3.033 MB / 0.9609 GB, free: 300 kB / 0.7169 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