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.001903/0.001903, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.574/1.574, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.527/2.527, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8078, allocations: 140.4 MB / 0.9496 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001898/0.8097, allocations: 0.7339 MB / 0.9503 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.811, allocations: 1.256 MB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.8111, allocations: 1.688 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.8111, allocations: 3.938 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.8112, allocations: 17.17 kB / 0.9516 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.8118, allocations: 250.7 kB / 0.9518 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.8121, allocations: 268.2 kB / 0.9521 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.8122, allocations: 11.61 kB / 0.9521 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.8123, allocations: 101.1 kB / 0.9522 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.8124, allocations: 85.62 kB / 0.9522 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.8125, allocations: 23.59 kB / 0.9523 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.8126, allocations: 38.05 kB / 0.9523 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.8126, allocations: 30.81 kB / 0.9523 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.8127, allocations: 95.33 kB / 0.9524 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.8129, allocations: 216.4 kB / 0.9526 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8129, allocations: 0 / 0.9526 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.813, allocations: 3.938 kB / 0.9526 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.813, allocations: 1.594 kB / 0.9526 GB, free: 7.121 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.0006044/0.8136, allocations: 0.4938 MB / 0.9531 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.8136, allocations: 9.281 kB / 0.9531 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.8137, allocations: 17.38 kB / 0.9531 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.8143, allocations: 257.3 kB / 0.9534 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.8143, allocations: 11.97 kB / 0.9534 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.8144, allocations: 25.3 kB / 0.9534 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.8146, allocations: 139.6 kB / 0.9536 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8146, allocations: 5.531 kB / 0.9536 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8146, allocations: 5.594 kB / 0.9536 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8146, allocations: 5.109 kB / 0.9536 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.8147, allocations: 58.73 kB / 0.9536 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.8154, allocations: 0.5205 MB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.8157, allocations: 162.6 kB / 0.9543 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.8158, allocations: 62.84 kB / 0.9544 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.8158, allocations: 1.125 kB / 0.9544 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.8161, allocations: 206.8 kB / 0.9546 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.8161, allocations: 0 / 0.9546 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005063/0.8166, allocations: 316.5 kB / 0.9549 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.8167, allocations: 86.67 kB / 0.9549 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.8167, allocations: 136 kB / 0.9551 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.8168, allocations: 36.05 kB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.8168, allocations: 98.72 kB / 0.9552 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.8169, allocations: 51.86 kB / 0.9552 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.817, allocations: 71.28 kB / 0.9553 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.817, allocations: 326.8 kB / 0.9556 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.8172, allocations: 86.2 kB / 0.9557 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.8174, allocations: 154.6 kB / 0.9559 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.8176, allocations: 249.7 kB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8177, allocations: 1.812 kB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004878/0.8181, allocations: 360.6 kB / 0.9564 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.8182, allocations: 60.44 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.8182, allocations: 5.719 kB / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8182, allocations: 3.812 kB / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.8183, allocations: 23.58 kB / 0.9565 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.8184, allocations: 8.438 kB / 0.9565 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.8187, allocations: 67.3 kB / 0.9566 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.8187, allocations: 14.12 kB / 0.9566 GB, free: 3.77 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 0.0001085/0.8188, allocations: 146 kB / 0.9568 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.8189, allocations: 12.12 kB / 0.9568 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.8189, allocations: 22.8 kB / 0.9568 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8189, allocations: 2.5 kB / 0.9568 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8189, allocations: 5.031 kB / 0.9568 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.819, allocations: 1.062 kB / 0.9568 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.8194, allocations: 0.6184 MB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8195, allocations: 0 / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.8195, allocations: 13.58 kB / 0.9574 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8195, allocations: 5.812 kB / 0.9574 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.8195, allocations: 11.83 kB / 0.9574 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8195, allocations: 1.938 kB / 0.9574 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8195, allocations: 0 / 0.9574 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.8199, allocations: 419.9 kB / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.82, allocations: 85.42 kB / 0.9579 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.82, allocations: 7.25 kB / 0.9579 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.8202, allocations: 17.11 kB / 0.9579 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.8202, allocations: 30.61 kB / 0.958 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.8203, allocations: 12.78 kB / 0.958 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.8203, allocations: 101 kB / 0.9581 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8203, allocations: 3.938 kB / 0.9581 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003505/0.8207, allocations: 62.86 kB / 0.9581 GB, free: 2.512 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.0001711/0.8209, allocations: 116 kB / 0.9582 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.8213, allocations: 357.2 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8213, allocations: 1.156 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.8215, allocations: 115.7 kB / 0.9587 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.8219, allocations: 37.78 kB / 0.9587 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.8224, allocations: 288.1 kB / 0.959 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.8225, allocations: 0.7089 MB / 0.9597 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.8226, allocations: 19.8 kB / 0.9597 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.8226, allocations: 16.69 kB / 0.9597 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8226, allocations: 0 / 0.9597 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.005404/0.828, allocations: 2.676 MB / 0.9623 GB, free: 15.8 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