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.001643/0.001643, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001976/0.001976, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.71/2.71, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 72.11 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 140.4 MB / 0.9489 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004828/1.125, allocations: 1.537 MB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001958/1.127, allocations: 0.7305 MB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/1.127, allocations: 1.594 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/1.127, allocations: 3.938 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/1.128, allocations: 14.62 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/1.129, allocations: 300 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/1.13, allocations: 158.9 kB / 0.9516 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/1.13, allocations: 12.92 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/1.13, allocations: 61.73 kB / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/1.13, allocations: 45.92 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/1.131, allocations: 5.906 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/1.131, allocations: 242.8 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/1.131, allocations: 34.67 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/1.131, allocations: 62.42 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005962/1.132, allocations: 298.6 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.132, allocations: 0 / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/1.132, allocations: 0 / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.132, allocations: 0 / 0.9523 GB, free: 6.785 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.0008751/1.133, allocations: 473.8 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/1.133, allocations: 9.281 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/1.133, allocations: 15.62 kB / 0.9528 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/1.133, allocations: 212.2 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/1.133, allocations: 5.469 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/1.134, allocations: 16.27 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/1.134, allocations: 100.8 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.134, allocations: 192 / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.134, allocations: 5 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.134, allocations: 1.094 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/1.134, allocations: 50.22 kB / 0.9532 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/1.134, allocations: 247.3 kB / 0.9534 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/1.135, allocations: 108.5 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/1.135, allocations: 79.34 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/1.135, allocations: 1.094 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/1.135, allocations: 138.3 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/1.135, allocations: 1.031 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0005955/1.136, allocations: 216.7 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/1.136, allocations: 118.8 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.136, allocations: 138.9 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.136, allocations: 34.67 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/1.136, allocations: 104.6 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.136, allocations: 56.06 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.136, allocations: 60.78 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.136, allocations: 325.8 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.137, allocations: 57.91 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/1.137, allocations: 170.2 kB / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/1.137, allocations: 140.7 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.137, allocations: 1.25 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003512/1.137, allocations: 200.9 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/1.137, allocations: 6.656 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-05/1.138, allocations: 4.188 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/1.138, allocations: 8.953 kB / 0.9553 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/1.138, allocations: 14.91 kB / 0.9553 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.138, allocations: 9.469 kB / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/1.138, allocations: 53.41 kB / 0.9554 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/1.138, allocations: 10.69 kB / 0.9554 GB, free: 4.09 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.0001297/1.138, allocations: 133.4 kB / 0.9555 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/1.138, allocations: 13.53 kB / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/1.138, allocations: 15.14 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.138, allocations: 3.969 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.138, allocations: 0 / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.138, allocations: 1.812 kB / 0.9555 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.138, allocations: 208.1 kB / 0.9557 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.138, allocations: 5.312 kB / 0.9557 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/1.138, allocations: 20.75 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.138, allocations: 1.344 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.139, allocations: 2.625 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.139, allocations: 1.531 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.139, allocations: 0 / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/1.139, allocations: 214.5 kB / 0.956 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/1.139, allocations: 97.3 kB / 0.9561 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.139, allocations: 6.219 kB / 0.9561 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/1.139, allocations: 11.3 kB / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/1.139, allocations: 8.422 kB / 0.9561 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.139, allocations: 8.375 kB / 0.9561 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.538e-05/1.139, allocations: 100.6 kB / 0.9562 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.139, allocations: 0 / 0.9562 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005603/1.14, allocations: 107.1 kB / 0.9563 GB, free: 3.312 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.0004848/1.14, allocations: 204.8 kB / 0.9565 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004314/1.141, allocations: 212 kB / 0.9567 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.141, allocations: 3.938 kB / 0.9567 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.141, allocations: 58.5 kB / 0.9567 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/1.141, allocations: 7.625 kB / 0.9567 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/1.142, allocations: 281.2 kB / 0.957 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/1.142, allocations: 0.7133 MB / 0.9577 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.186e-05/1.142, allocations: 13.14 kB / 0.9577 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/1.142, allocations: 12.94 kB / 0.9577 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/1.142, allocations: 0 / 0.9577 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.007328/1.149, allocations: 2.953 MB / 0.9606 GB, free: 0.5547 MB / 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