Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008958, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009311/0.0009312, allocations: 177.3 kB / 15.95 MB, free: 216 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.296/1.296, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 11.98 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.607, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001412/0.6085, allocations: 1.18 MB / 0.9547 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.6091, allocations: 425.6 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.6091, allocations: 0.8125 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.6092, allocations: 0 / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.6092, allocations: 1.125 kB / 0.9551 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.6094, allocations: 23.97 kB / 0.9551 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.6095, allocations: 27.5 kB / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.6096, allocations: 16.98 kB / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.6096, allocations: 18.33 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.6097, allocations: 21.72 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.6097, allocations: 1.375 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.6097, allocations: 3.219 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.6098, allocations: 1.031 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.6098, allocations: 42.47 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.217e-05/0.6099, allocations: 31.2 kB / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.6099, allocations: 0 / 0.9552 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6099, allocations: 4 kB / 0.9552 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6099, allocations: 5.156 kB / 0.9553 GB, free: 6.688 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004044/0.6103, allocations: 355.4 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6103, allocations: 9.656 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.6104, allocations: 9.891 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.6105, allocations: 166.3 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.6105, allocations: 6.281 kB / 0.9558 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.6105, allocations: 8.188 kB / 0.9558 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.6106, allocations: 58.27 kB / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.6107, allocations: 0 / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6107, allocations: 0.9062 kB / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6107, allocations: 1.062 kB / 0.9558 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.6108, allocations: 29.47 kB / 0.9559 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.6112, allocations: 314.9 kB / 0.9562 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.6113, allocations: 53.19 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.6113, allocations: 1.25 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.6114, allocations: 79.5 kB / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.6114, allocations: 0 / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002204/0.6117, allocations: 96.77 kB / 0.9564 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6117, allocations: 53.81 kB / 0.9564 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.6118, allocations: 108.3 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6118, allocations: 30.77 kB / 0.9566 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.6118, allocations: 86.33 kB / 0.9567 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.6119, allocations: 19.39 kB / 0.9567 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.6119, allocations: 4 kB / 0.9567 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.6119, allocations: 316.9 kB / 0.957 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.612, allocations: 21.14 kB / 0.957 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.612, allocations: 52.05 kB / 0.957 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.6121, allocations: 23.44 kB / 0.9571 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6121, allocations: 0 / 0.9571 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001461/0.6123, allocations: 94.33 kB / 0.9572 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6123, allocations: 8.625 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6123, allocations: 4.984 kB / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6123, allocations: 2.562 kB / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.6124, allocations: 7.719 kB / 0.9572 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.6124, allocations: 5.141 kB / 0.9572 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.6125, allocations: 22.52 kB / 0.9572 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.6125, allocations: 7.312 kB / 0.9572 GB, free: 4.742 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.187e-05/0.6126, allocations: 115.1 kB / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.6126, allocations: 6.125 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.6126, allocations: 12.95 kB / 0.9573 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6126, allocations: 5.984 kB / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6127, allocations: 0 / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6127, allocations: 3.984 kB / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.613, allocations: 359.1 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.613, allocations: 1.219 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.613, allocations: 7.438 kB / 0.9577 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.613, allocations: 3.953 kB / 0.9577 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6131, allocations: 4.75 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6131, allocations: 1.062 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6131, allocations: 0 / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.6132, allocations: 179.2 kB / 0.9579 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.6132, allocations: 83.42 kB / 0.958 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.6133, allocations: 5.016 kB / 0.958 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.6134, allocations: 17.14 kB / 0.958 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.6134, allocations: 8.359 kB / 0.958 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.6134, allocations: 1.531 kB / 0.958 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.6134, allocations: 87.06 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6135, allocations: 0.7812 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.6137, allocations: 11.78 kB / 0.9581 GB, free: 3.875 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001005/0.6138, allocations: 104.2 kB / 0.9582 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.6139, allocations: 55.2 kB / 0.9582 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.614, allocations: 0 / 0.9582 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.614, allocations: 33.14 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.6142, allocations: 4.562 kB / 0.9583 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.6145, allocations: 161.2 kB / 0.9584 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.6146, allocations: 0.6929 MB / 0.9591 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.6147, allocations: 3.219 kB / 0.9591 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.6147, allocations: 10.91 kB / 0.9591 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6147, allocations: 1.125 kB / 0.9591 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.002676/0.6174, allocations: 0.6591 MB / 0.9598 GB, free: 2.539 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches