Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 73.09 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.185/2.185, allocations: 429.5 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.556e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00165/0.001676, allocations: 0.7454 MB / 0.8801 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003091, allocations: 1.302 MB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.003178, allocations: 1.344 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.172e-05/0.003219, allocations: 7.875 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.003333, allocations: 27.78 kB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.0044, allocations: 237.3 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.004705, allocations: 261.1 kB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004808, allocations: 12.2 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.004977, allocations: 155.8 kB / 0.8821 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.005116, allocations: 73.5 kB / 0.8821 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.005145, allocations: 16 kB / 0.8822 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.005218, allocations: 39.92 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.005247, allocations: 26.83 kB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.005316, allocations: 71.88 kB / 0.8823 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005498, allocations: 163.6 kB / 0.8825 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005501, allocations: 0 / 0.8825 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005501, allocations: 0 / 0.8825 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.005506, allocations: 0 / 0.8825 GB, free: 2.922 MB / 0.8386 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.0004977/0.006003, allocations: 0.5236 MB / 0.883 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.006035, allocations: 8.031 kB / 0.883 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.006095, allocations: 34.53 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.006258, allocations: 164.4 kB / 0.8832 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.006277, allocations: 8.375 kB / 0.8832 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.006306, allocations: 24.36 kB / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.006443, allocations: 127.6 kB / 0.8833 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.00645, allocations: 192 / 0.8833 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.006464, allocations: 12.36 kB / 0.8833 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.006468, allocations: 384 / 0.8833 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.006521, allocations: 47.83 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.006982, allocations: 0.4913 MB / 0.8839 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.007152, allocations: 130.1 kB / 0.884 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.007194, allocations: 39.34 kB / 0.884 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.007202, allocations: 4 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.007414, allocations: 198.3 kB / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.007415, allocations: 0 / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003374/0.007753, allocations: 273 kB / 0.8845 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.007793, allocations: 93.03 kB / 0.8846 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.00788, allocations: 189.8 kB / 0.8847 GB, free: 376 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.007915, allocations: 37.7 kB / 0.8848 GB, free: 332 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.007992, allocations: 143.3 kB / 0.8849 GB, free: 184 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.008032, allocations: 51.67 kB / 0.885 GB, free: 132 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.008114, allocations: 79.3 kB / 0.885 GB, free: 44 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.008239, allocations: 0.4962 MB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.008346, allocations: 119.6 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.008472, allocations: 210.7 kB / 0.8858 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.008639, allocations: 244.6 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.008642, allocations: 4 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003327/0.008974, allocations: 391.5 kB / 0.8864 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.009017, allocations: 67.39 kB / 0.8865 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009022, allocations: 4 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.009033, allocations: 4 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.009095, allocations: 19.94 kB / 0.8865 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.0091, allocations: 8.203 kB / 0.8865 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.009262, allocations: 55.84 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.009283, allocations: 16 kB / 0.8866 GB, free: 14.26 MB / 0.8542 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.0001109/0.009394, allocations: 190.4 kB / 0.8868 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.009422, allocations: 31.89 kB / 0.8868 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.009454, allocations: 12.44 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.009462, allocations: 15.92 kB / 0.8869 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.009465, allocations: 0 / 0.8869 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.00947, allocations: 0 / 0.8869 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.009842, allocations: 0.5869 MB / 0.8874 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009844, allocations: 0 / 0.8874 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.009874, allocations: 19.92 kB / 0.8874 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.009876, allocations: 0 / 0.8874 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009888, allocations: 11.98 kB / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009889, allocations: 0 / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.009893, allocations: 4 kB / 0.8875 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.01016, allocations: 498.8 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.01017, allocations: 11.95 kB / 0.8879 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01019, allocations: 11.98 kB / 0.888 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.01027, allocations: 7.984 kB / 0.888 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.01032, allocations: 27.89 kB / 0.888 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.01033, allocations: 15.98 kB / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.01037, allocations: 135.2 kB / 0.8881 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01037, allocations: 0 / 0.8881 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002552/0.01063, allocations: 59.94 kB / 0.8882 GB, free: 12.58 MB / 0.8542 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.0001232/0.01075, allocations: 112.8 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.01127, allocations: 361.7 kB / 0.8886 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01127, allocations: 0 / 0.8886 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.01135, allocations: 79.56 kB / 0.8887 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01161, allocations: 33.52 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.01194, allocations: 255.1 kB / 0.889 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01198, allocations: 83.83 kB / 0.8891 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.66e-05/0.01203, allocations: 13.48 kB / 0.8891 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.01215, allocations: 118.2 kB / 0.8892 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01215, allocations: 0 / 0.8892 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.004568/0.01672, allocations: 3.189 MB / 0.8923 GB, free: 8.312 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.752436893060803]