Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_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_10_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.006307/0.006307, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001559/0.00156, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 59.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3396, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002669/0.3423, allocations: 1.481 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.3431, allocations: 434.9 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.3431, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3432, allocations: 3.938 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.3433, allocations: 19.91 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.3434, allocations: 19.92 kB / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.495e-05/0.3435, allocations: 55.84 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.3436, allocations: 8 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.3437, allocations: 31.84 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.3437, allocations: 19.91 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3438, allocations: 4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.3438, allocations: 8 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3438, allocations: 4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.3439, allocations: 31.8 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.344, allocations: 43.81 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.344, allocations: 8 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.277e-06/0.344, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.344, allocations: 3.938 kB / 1.169 GB, free: 4.691 MB / 0.92 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.0005373/0.3446, allocations: 359.3 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3446, allocations: 12.03 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3446, allocations: 4.922 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3448, allocations: 176.2 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3448, allocations: 4.375 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3448, allocations: 12.38 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3449, allocations: 57.98 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.345, allocations: 0 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.345, allocations: 0 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.345, allocations: 4 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.345, allocations: 27.92 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.3455, allocations: 288.8 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3457, allocations: 62.59 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.3457, allocations: 24.94 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3457, allocations: 0 / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3459, allocations: 75.33 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3459, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002214/0.3461, allocations: 97.91 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3462, allocations: 63.39 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.3463, allocations: 105.8 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3463, allocations: 33.8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.3464, allocations: 88.06 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3464, allocations: 27.78 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3464, allocations: 33.64 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3466, allocations: 318.8 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.3466, allocations: 19.98 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.3467, allocations: 47.42 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.3468, allocations: 71.31 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3468, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001453/0.3469, allocations: 97.56 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3469, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.347, allocations: 4.031 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.347, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.347, allocations: 15.92 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3471, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.3471, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3471, allocations: 8 kB / 1.171 GB, free: 2.336 MB / 0.92 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.3472, allocations: 120 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.3472, allocations: 7.984 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.3473, allocations: 11.97 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3473, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3473, allocations: 4 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3473, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.3477, allocations: 354.4 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3477, allocations: 0 / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.3477, allocations: 7.938 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3478, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.3478, allocations: 3.984 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3478, allocations: 11.94 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3478, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3479, allocations: 187.4 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.348, allocations: 81.09 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.348, allocations: 4 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.3481, allocations: 7.938 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.3482, allocations: 7.984 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.3482, allocations: 8.062 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.3482, allocations: 95.53 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3482, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002312/0.3485, allocations: 16 kB / 1.172 GB, free: 1.324 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.993e-05/0.3486, allocations: 95.25 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.3487, allocations: 51.92 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3487, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.3488, allocations: 31.92 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3491, allocations: 19.98 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.3494, allocations: 137.4 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3497, allocations: 0.6885 MB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.3497, allocations: 4 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.3497, allocations: 11.44 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3497, allocations: 0 / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of Templates: time 0.003015/0.3528, allocations: 0.7859 MB / 1.173 GB, free: 15.45 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches