Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001364/0.001364, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001594/0.001593, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.714/2.714, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.7261, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002311/0.7285, allocations: 0.8143 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.7303, allocations: 1.257 MB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.7304, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.217e-05/0.7305, allocations: 7.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.7306, allocations: 19.84 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.7315, allocations: 224.7 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.7318, allocations: 263.6 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.732, allocations: 20.22 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.7321, allocations: 99.8 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.7323, allocations: 87.75 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.7323, allocations: 24 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.7324, allocations: 31.98 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.7325, allocations: 39.89 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.7326, allocations: 87.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.7329, allocations: 221.4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7329, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7329, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.7329, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 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.0008041/0.7337, allocations: 498.5 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.7338, allocations: 15.98 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.7339, allocations: 16.84 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.7345, allocations: 260.2 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7345, allocations: 8.375 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.7346, allocations: 24.36 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.7348, allocations: 128.9 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7349, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.7349, allocations: 3.984 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7349, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.735, allocations: 63.89 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.7359, allocations: 0.524 MB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.7361, allocations: 161.1 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.7362, allocations: 61.69 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.7363, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.7366, allocations: 212 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.7366, allocations: 3.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005514/0.7372, allocations: 321 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.7373, allocations: 85.05 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7374, allocations: 130 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.7374, allocations: 41.7 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.7375, allocations: 100.8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.7376, allocations: 51.34 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.7377, allocations: 73.69 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7378, allocations: 322.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.738, allocations: 92.22 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.7382, allocations: 148.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.7385, allocations: 246.9 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7385, allocations: 4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005187/0.739, allocations: 361 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.7391, allocations: 63.41 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7391, allocations: 4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7391, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.7392, allocations: 20.52 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7392, allocations: 11.94 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.7396, allocations: 63.78 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.7396, allocations: 23.98 kB / 1.024 GB, free: 11.11 MB / 0.7794 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.0001276/0.7397, allocations: 148.5 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.7398, allocations: 15.91 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.7398, allocations: 16.48 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7398, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7398, allocations: 3.938 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7398, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.7404, allocations: 0.6094 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7404, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.7405, allocations: 15.98 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7405, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.7405, allocations: 7.984 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7405, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7405, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.7409, allocations: 418.5 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.741, allocations: 93 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.741, allocations: 11.94 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.7411, allocations: 11.98 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.7412, allocations: 27.95 kB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.7412, allocations: 16 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.7413, allocations: 91.27 kB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7413, allocations: 0 / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003397/0.7416, allocations: 63.89 kB / 1.025 GB, free: 9.465 MB / 0.7794 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.0001777/0.7418, allocations: 119.2 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.7423, allocations: 362.5 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7423, allocations: 0 / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.7425, allocations: 111.9 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.7429, allocations: 36.56 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.7434, allocations: 300.5 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.7436, allocations: 0.7086 MB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.7437, allocations: 17.55 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.7437, allocations: 23.38 kB / 1.027 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7437, allocations: 4 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of Templates: time 0.005245/0.749, allocations: 2.604 MB / 1.03 GB, free: 5.133 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches