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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.00586/0.005861, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.318/2.318, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 16 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.656, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0009013/0.657, allocations: 481.9 kB / 0.9556 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.6586, allocations: 1.261 MB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.6587, allocations: 1.156 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.6587, allocations: 3.938 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.6588, allocations: 14.77 kB / 0.9569 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.6594, allocations: 233.8 kB / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.6596, allocations: 227.4 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6597, allocations: 14.75 kB / 0.9573 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.6598, allocations: 88.48 kB / 0.9574 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.66, allocations: 78.52 kB / 0.9575 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.66, allocations: 16.81 kB / 0.9575 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.6601, allocations: 33.91 kB / 0.9576 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.6601, allocations: 23.08 kB / 0.9576 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.6602, allocations: 108.7 kB / 0.9577 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.6604, allocations: 210.2 kB / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6605, allocations: 1 kB / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6605, allocations: 0 / 0.9579 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6605, allocations: 0 / 0.9579 GB, free: 5.641 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.0005382/0.661, allocations: 467.7 kB / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.6611, allocations: 8.875 kB / 0.9583 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.6611, allocations: 42.58 kB / 0.9584 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.6612, allocations: 17.12 kB / 0.9584 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.6617, allocations: 258.8 kB / 0.9586 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6617, allocations: 16.86 kB / 0.9587 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.6618, allocations: 19.88 kB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.662, allocations: 138.1 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.662, allocations: 1.156 kB / 0.9588 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.662, allocations: 6.016 kB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.662, allocations: 8.938 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.6621, allocations: 63.23 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.6628, allocations: 0.5209 MB / 0.9594 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.663, allocations: 155.9 kB / 0.9595 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.6631, allocations: 65.19 kB / 0.9596 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.6631, allocations: 1.375 kB / 0.9596 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.6634, allocations: 220 kB / 0.9598 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.6634, allocations: 0 / 0.9598 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0004878/0.6639, allocations: 313.3 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.6639, allocations: 90.55 kB / 0.9602 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.664, allocations: 130.1 kB / 0.9603 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.664, allocations: 40.56 kB / 0.9604 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.6641, allocations: 98.11 kB / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.6641, allocations: 51.97 kB / 0.9605 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.6642, allocations: 39.45 kB / 0.9605 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.6643, allocations: 321.6 kB / 0.9608 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6644, allocations: 93.53 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6646, allocations: 155.3 kB / 0.9611 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.6648, allocations: 243.7 kB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6648, allocations: 0 / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004986/0.6654, allocations: 356.5 kB / 0.9617 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.6654, allocations: 64.91 kB / 0.9617 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6654, allocations: 2.031 kB / 0.9617 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6654, allocations: 8.156 kB / 0.9617 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.6655, allocations: 24.08 kB / 0.9618 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6655, allocations: 11.31 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.6659, allocations: 88.03 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.666, allocations: 20.67 kB / 0.9619 GB, free: 2.273 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.0001066/0.6661, allocations: 147 kB / 0.962 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.6661, allocations: 15.84 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.6661, allocations: 18.7 kB / 0.962 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6662, allocations: 6.906 kB / 0.962 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6662, allocations: 1.094 kB / 0.962 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6662, allocations: 0 / 0.962 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.6667, allocations: 0.6069 MB / 0.9626 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6667, allocations: 4 kB / 0.9626 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.6667, allocations: 14.64 kB / 0.9627 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6667, allocations: 4.969 kB / 0.9627 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.6668, allocations: 15.8 kB / 0.9627 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.6668, allocations: 4.75 kB / 0.9627 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6668, allocations: 0.8125 kB / 0.9627 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.6671, allocations: 417.1 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.6672, allocations: 93.31 kB / 0.9632 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.6672, allocations: 11.91 kB / 0.9632 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.6674, allocations: 14.89 kB / 0.9632 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.6674, allocations: 22.83 kB / 0.9632 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.6675, allocations: 16.61 kB / 0.9632 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.6675, allocations: 97.44 kB / 0.9633 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6675, allocations: 0 / 0.9633 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003488/0.6679, allocations: 57.64 kB / 0.9634 GB, free: 1.031 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.0005671/0.6685, allocations: 0.9652 MB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.6689, allocations: 348.7 kB / 0.9647 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6689, allocations: 4.062 kB / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.6691, allocations: 112.1 kB / 0.9648 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6695, allocations: 29.53 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.672, allocations: 2.285 MB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.6722, allocations: 0.712 MB / 0.9677 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.6723, allocations: 15.98 kB / 0.9677 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.6724, allocations: 45.27 kB / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.6724, allocations: 0 / 0.9678 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.6877, allocations: 3.68 MB / 0.9714 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.688, allocations: 202.3 kB / 0.9716 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.428, allocations: 0 / 0.9716 GB, free: 11.18 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > 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/jenkins1/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