Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0009237/0.0009237, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000932/0.000932, 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 0.9528/0.9528, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.137/2.137, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8794 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.354e-05, allocations: 4.141 kB / 0.8794 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001388/0.001422, allocations: 0.6913 MB / 0.8801 GB, free: 4.168 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.002764, allocations: 1.248 MB / 0.8813 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.00281, allocations: 4.656 kB / 0.8813 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.002838, allocations: 3.938 kB / 0.8813 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.002917, allocations: 16.95 kB / 0.8813 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.0034, allocations: 213.1 kB / 0.8815 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.003593, allocations: 182.2 kB / 0.8817 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.003676, allocations: 13.47 kB / 0.8817 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.003789, allocations: 95.86 kB / 0.8818 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.003897, allocations: 55.91 kB / 0.8819 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.003924, allocations: 15.94 kB / 0.8819 GB, free: 2.332 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.579e-05/0.003999, allocations: 28.7 kB / 0.8819 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004024, allocations: 11.98 kB / 0.8819 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.004079, allocations: 57.23 kB / 0.882 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004245, allocations: 135.7 kB / 0.8821 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004248, allocations: 0 / 0.8821 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004248, allocations: 0 / 0.8821 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004253, allocations: 1.344 kB / 0.8821 GB, free: 2.105 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003881/0.004641, allocations: 467.8 kB / 0.8826 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.004676, allocations: 12.03 kB / 0.8826 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.004722, allocations: 14.48 kB / 0.8826 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.004799, allocations: 120.5 kB / 0.8827 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.004817, allocations: 4.375 kB / 0.8827 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.004836, allocations: 12.38 kB / 0.8827 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/0.004915, allocations: 60.38 kB / 0.8828 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004923, allocations: 7.938 kB / 0.8828 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.00493, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004933, allocations: 0 / 0.8828 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.00495, allocations: 4 kB / 0.8828 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.00528, allocations: 323.3 kB / 0.8831 GB, free: 1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.005347, allocations: 31.06 kB / 0.8831 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.005361, allocations: 19.7 kB / 0.8831 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.005366, allocations: 3.938 kB / 0.8831 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.843e-05/0.005464, allocations: 89 kB / 0.8832 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.005466, allocations: 0 / 0.8832 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of matching and sorting (n=9): time 0.0001895/0.005655, allocations: 113.5 kB / 0.8833 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.005689, allocations: 55.41 kB / 0.8834 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.005777, allocations: 181.8 kB / 0.8836 GB, free: 460 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.005803, allocations: 37.69 kB / 0.8836 GB, free: 416 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.00586, allocations: 135.1 kB / 0.8837 GB, free: 272 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.005874, allocations: 19.83 kB / 0.8837 GB, free: 252 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.00594, allocations: 59.33 kB / 0.8838 GB, free: 184 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.006067, allocations: 0.4884 MB / 0.8843 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.006153, allocations: 107.4 kB / 0.8844 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.006258, allocations: 162.7 kB / 0.8845 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.006381, allocations: 189.1 kB / 0.8847 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006383, allocations: 0 / 0.8847 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002836/0.006666, allocations: 324.1 kB / 0.885 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.006709, allocations: 67.39 kB / 0.8851 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.006717, allocations: 4 kB / 0.8851 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.006727, allocations: 8.094 kB / 0.8851 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.954e-05/0.006767, allocations: 8 kB / 0.8851 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.006772, allocations: 7.922 kB / 0.8851 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.006925, allocations: 47.86 kB / 0.8852 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.006945, allocations: 11.98 kB / 0.8852 GB, free: 14.62 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 8.18e-05/0.007027, allocations: 166.6 kB / 0.8853 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007042, allocations: 15.98 kB / 0.8853 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.007065, allocations: 16.42 kB / 0.8854 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.007069, allocations: 7.984 kB / 0.8854 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.007071, allocations: 0 / 0.8854 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007074, allocations: 0 / 0.8854 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.007286, allocations: 326.3 kB / 0.8857 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007287, allocations: 0 / 0.8857 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-06/0.007294, allocations: 3.938 kB / 0.8857 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.0073, allocations: 7.984 kB / 0.8857 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.007308, allocations: 0 / 0.8857 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007309, allocations: 0 / 0.8857 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.007311, allocations: 0 / 0.8857 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.007439, allocations: 243.8 kB / 0.8859 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.00745, allocations: 11.95 kB / 0.8859 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.007463, allocations: 3.984 kB / 0.8859 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.007497, allocations: 4 kB / 0.8859 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.00752, allocations: 7.984 kB / 0.8859 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.007531, allocations: 8 kB / 0.886 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.007574, allocations: 135.2 kB / 0.8861 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007574, allocations: 0 / 0.8861 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001869/0.007761, allocations: 28 kB / 0.8861 GB, free: 13.6 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001508/0.007912, allocations: 111.2 kB / 0.8862 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002467/0.008158, allocations: 273.7 kB / 0.8865 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00816, allocations: 0 / 0.8865 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.008196, allocations: 35.66 kB / 0.8865 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.008429, allocations: 19.86 kB / 0.8865 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.008708, allocations: 162.6 kB / 0.8867 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.008756, allocations: 63.66 kB / 0.8867 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.008784, allocations: 12.72 kB / 0.8868 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.008893, allocations: 102.2 kB / 0.8869 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.008894, allocations: 0 / 0.8869 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.004302/0.0132, allocations: 2.36 MB / 0.8892 GB, free: 10.43 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.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.335742142051458]