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.001083/0.001083, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009164/0.009164, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.462/2.462, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004604, allocations: 11.98 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8064, allocations: 142.4 MB / 0.9551 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0009413/0.8074, allocations: 478.7 kB / 0.9555 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.8091, allocations: 1.261 MB / 0.9567 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.8092, allocations: 1.188 kB / 0.9567 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.8092, allocations: 3.938 kB / 0.9567 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.8093, allocations: 18.41 kB / 0.9568 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.81, allocations: 227.1 kB / 0.957 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.8103, allocations: 234.6 kB / 0.9572 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.8104, allocations: 16 kB / 0.9572 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.8106, allocations: 87.73 kB / 0.9573 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.8108, allocations: 79.48 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.8109, allocations: 10.97 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.8109, allocations: 27.77 kB / 0.9574 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.811, allocations: 27.06 kB / 0.9574 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.8111, allocations: 107.3 kB / 0.9575 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.8114, allocations: 211.7 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8114, allocations: 0 / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8114, allocations: 0 / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8114, allocations: 1.375 kB / 0.9577 GB, free: 6.047 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.0006627/0.8121, allocations: 466.5 kB / 0.9582 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8121, allocations: 13.56 kB / 0.9582 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.8123, allocations: 17.22 kB / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.8129, allocations: 261.9 kB / 0.9585 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.813, allocations: 12.41 kB / 0.9585 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.813, allocations: 25.83 kB / 0.9585 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.8133, allocations: 126.7 kB / 0.9586 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8133, allocations: 8.906 kB / 0.9586 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.8133, allocations: 5.859 kB / 0.9586 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.8133, allocations: 0.875 kB / 0.9586 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.8135, allocations: 64.42 kB / 0.9587 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.8142, allocations: 0.5316 MB / 0.9592 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.8145, allocations: 159 kB / 0.9594 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.8146, allocations: 67.09 kB / 0.9594 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.8146, allocations: 5.094 kB / 0.9594 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003437/0.815, allocations: 202.7 kB / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.815, allocations: 0 / 0.9596 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0005612/0.8155, allocations: 316.5 kB / 0.9599 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.8156, allocations: 93.16 kB / 0.96 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.8157, allocations: 129.3 kB / 0.9602 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.8157, allocations: 36.58 kB / 0.9602 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.8158, allocations: 102.2 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.8159, allocations: 47.61 kB / 0.9603 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.8159, allocations: 42.06 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.816, allocations: 323 kB / 0.9607 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.8162, allocations: 85.2 kB / 0.9608 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.8164, allocations: 151.1 kB / 0.9609 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.8167, allocations: 256.8 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8167, allocations: 0.875 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000568/0.8173, allocations: 352.7 kB / 0.9615 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.8173, allocations: 68.61 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8173, allocations: 3.062 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.8174, allocations: 2.875 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.8175, allocations: 20.03 kB / 0.9616 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8175, allocations: 11.55 kB / 0.9616 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.8179, allocations: 87.44 kB / 0.9617 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.818, allocations: 18.45 kB / 0.9617 GB, free: 2.73 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.0001191/0.8181, allocations: 138.6 kB / 0.9618 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.8181, allocations: 32.52 kB / 0.9619 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.8182, allocations: 13.66 kB / 0.9619 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8182, allocations: 2.531 kB / 0.9619 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8182, allocations: 5.125 kB / 0.9619 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8182, allocations: 1.188 kB / 0.9619 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.8187, allocations: 0.6152 MB / 0.9625 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8187, allocations: 1 kB / 0.9625 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.8188, allocations: 10 kB / 0.9625 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.8188, allocations: 5.938 kB / 0.9625 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.8188, allocations: 11.23 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.8188, allocations: 4.969 kB / 0.9625 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8188, allocations: 1.062 kB / 0.9625 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.8192, allocations: 417.2 kB / 0.9629 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.8193, allocations: 84.8 kB / 0.963 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.8193, allocations: 19.89 kB / 0.963 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.8195, allocations: 15.3 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.8196, allocations: 21.66 kB / 0.963 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.8196, allocations: 13.77 kB / 0.9631 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8196, allocations: 101.3 kB / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8196, allocations: 0 / 0.9632 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003877/0.82, allocations: 50.09 kB / 0.9632 GB, free: 1.492 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.000221/0.8203, allocations: 128.8 kB / 0.9633 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.8208, allocations: 343.9 kB / 0.9636 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8208, allocations: 0 / 0.9636 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.821, allocations: 124.3 kB / 0.9638 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8214, allocations: 32.67 kB / 0.9638 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.822, allocations: 307.9 kB / 0.9641 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.8221, allocations: 0.7089 MB / 0.9648 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.633e-05/0.8222, allocations: 15.33 kB / 0.9648 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.8223, allocations: 17.78 kB / 0.9648 GB, free: 120 kB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8223, allocations: 4 kB / 0.9648 GB, free: 116 kB / 0.7169 GB Notification: Performance of Templates: time 0.006706/0.829, allocations: 2.468 MB / 0.9672 GB, free: 14.87 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