Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00182/0.00182, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.481/2.481, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.89/0.8912, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002191/0.8934, allocations: 0.8056 MB / 0.9499 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.8952, allocations: 1.251 MB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.8954, allocations: 5.375 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.562e-05/0.8954, allocations: 7.922 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.8956, allocations: 10.61 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.8964, allocations: 218.7 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.8967, allocations: 263.9 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.8968, allocations: 24.41 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.897, allocations: 104.7 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.8972, allocations: 78.17 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.8972, allocations: 27.5 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.8974, allocations: 46.08 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.8974, allocations: 34.86 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.8975, allocations: 93.95 kB / 0.952 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.8978, allocations: 219.6 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8978, allocations: 5.219 kB / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8978, allocations: 0 / 0.9522 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8978, allocations: 0 / 0.9522 GB, free: 6.766 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006885/0.8985, allocations: 499.3 kB / 0.9527 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8985, allocations: 13.89 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/0.8986, allocations: 16.88 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.8992, allocations: 255.1 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.8992, allocations: 12.8 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.8993, allocations: 23.41 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.8995, allocations: 130.7 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.8995, allocations: 3.938 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.8995, allocations: 6.141 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8996, allocations: 2.375 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.8997, allocations: 71.27 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.9003, allocations: 0.5112 MB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.9006, allocations: 159.2 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.9007, allocations: 63.03 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.9007, allocations: 1.656 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.901, allocations: 213.1 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.901, allocations: 0 / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0004927/0.9015, allocations: 309.1 kB / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.9016, allocations: 86.89 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.9017, allocations: 131.6 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.9017, allocations: 45.94 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.9018, allocations: 94.2 kB / 0.9547 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.9018, allocations: 50.84 kB / 0.9548 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.9019, allocations: 75.14 kB / 0.9549 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.902, allocations: 334.9 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.9021, allocations: 81.08 kB / 0.9553 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.9023, allocations: 155.2 kB / 0.9554 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.9025, allocations: 245.9 kB / 0.9556 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.9025, allocations: 0 / 0.9556 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004719/0.903, allocations: 352 kB / 0.956 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.9031, allocations: 68.73 kB / 0.956 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9031, allocations: 6.406 kB / 0.9561 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9031, allocations: 7.484 kB / 0.9561 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.9032, allocations: 15.69 kB / 0.9561 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9032, allocations: 15.95 kB / 0.9561 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.9035, allocations: 64.34 kB / 0.9562 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.9036, allocations: 21.05 kB / 0.9562 GB, free: 3.422 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.973e-05/0.9037, allocations: 143.3 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.9037, allocations: 19.7 kB / 0.9563 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.9038, allocations: 10.81 kB / 0.9563 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9038, allocations: 2.156 kB / 0.9563 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9038, allocations: 5.156 kB / 0.9563 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9038, allocations: 4 kB / 0.9563 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.9043, allocations: 0.6199 MB / 0.957 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9043, allocations: 5.312 kB / 0.957 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.9043, allocations: 17.19 kB / 0.957 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9043, allocations: 5.562 kB / 0.957 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.9043, allocations: 7.234 kB / 0.957 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9044, allocations: 1.25 kB / 0.957 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9044, allocations: 1.562 kB / 0.957 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.9047, allocations: 420.4 kB / 0.9574 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.9047, allocations: 88.61 kB / 0.9575 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.9048, allocations: 17.27 kB / 0.9575 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.9049, allocations: 7.641 kB / 0.9575 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.905, allocations: 22.69 kB / 0.9575 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.905, allocations: 17.45 kB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.905, allocations: 94.11 kB / 0.9576 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.905, allocations: 0 / 0.9576 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003369/0.9054, allocations: 54.25 kB / 0.9577 GB, free: 2.184 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000146/0.9055, allocations: 127.9 kB / 0.9578 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.9059, allocations: 346.9 kB / 0.9581 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9059, allocations: 0 / 0.9581 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.9061, allocations: 115.7 kB / 0.9582 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.9065, allocations: 39.69 kB / 0.9583 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.9069, allocations: 301.2 kB / 0.9586 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.9071, allocations: 0.7129 MB / 0.9593 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.681e-05/0.9071, allocations: 15.33 kB / 0.9593 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.9072, allocations: 21.8 kB / 0.9593 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.9072, allocations: 4 kB / 0.9593 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of Templates: time 0.005143/0.9123, allocations: 2.62 MB / 0.9619 GB, free: 15.47 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches