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.001231/0.001231, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001619/0.001619, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 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.039/1.039, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.088/2.088, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 4.429e-06/4.429e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.845e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001647/0.001686, allocations: 0.6952 MB / 0.8789 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.003214, allocations: 1.251 MB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.003274, allocations: 0 / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.003314, allocations: 3.938 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.003405, allocations: 18.27 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.004055, allocations: 213.4 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.004273, allocations: 175.7 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004375, allocations: 13.11 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.004495, allocations: 103.9 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.00462, allocations: 55.83 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.004652, allocations: 17.12 kB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.004734, allocations: 24 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.004762, allocations: 7.984 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.004834, allocations: 56.86 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005058, allocations: 143.7 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.005062, allocations: 0 / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/0.005064, allocations: 0.6562 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.005069, allocations: 0.5 kB / 0.8809 GB, free: 3.547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005818/0.005651, allocations: 467.8 kB / 0.8813 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.005702, allocations: 9.188 kB / 0.8813 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.005771, allocations: 12.89 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.005872, allocations: 112.6 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.005901, allocations: 17.02 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.005925, allocations: 9.688 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.006058, allocations: 58.88 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.006069, allocations: 3.938 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.006083, allocations: 4 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.006094, allocations: 4.781 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.006118, allocations: 4 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.006636, allocations: 336.2 kB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.006747, allocations: 40.08 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.006769, allocations: 19.62 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.006775, allocations: 0 / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.006919, allocations: 97.75 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.006921, allocations: 0.7188 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002593/0.00718, allocations: 122.5 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.007223, allocations: 51.41 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.00733, allocations: 189.8 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.007357, allocations: 37.27 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.007428, allocations: 139 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.007451, allocations: 15.89 kB / 0.8826 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.007523, allocations: 59.34 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.007667, allocations: 0.4884 MB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.007786, allocations: 111.4 kB / 0.8832 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.007932, allocations: 181.2 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.008086, allocations: 182.5 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.00809, allocations: 3.938 kB / 0.8836 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000342/0.008432, allocations: 341.6 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.008485, allocations: 67.55 kB / 0.8839 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.008492, allocations: 4 kB / 0.8839 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.008514, allocations: 7.984 kB / 0.884 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.008578, allocations: 4 kB / 0.884 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.008587, allocations: 7.938 kB / 0.884 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.008766, allocations: 47.86 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.008815, allocations: 12.03 kB / 0.884 GB, free: 15.99 MB / 0.8542 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 0.0001228/0.008937, allocations: 170.4 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.008965, allocations: 23.89 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.008995, allocations: 4.438 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.008999, allocations: 0 / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.009004, allocations: 4 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.009009, allocations: 4 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.009299, allocations: 345.3 kB / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.009301, allocations: 4 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.009312, allocations: 3.938 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.009316, allocations: 0 / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.009326, allocations: 7.984 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.00933, allocations: 4 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009332, allocations: 96 / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.009505, allocations: 251.7 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.009515, allocations: 7.953 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.009534, allocations: 3.984 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.009574, allocations: 4 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.009615, allocations: 7.984 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.009631, allocations: 4 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.009692, allocations: 131.2 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009692, allocations: 0 / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002251/0.009918, allocations: 32 kB / 0.885 GB, free: 14.93 MB / 0.8542 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.0001792/0.0101, allocations: 111.2 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.01041, allocations: 289.7 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01041, allocations: 3.938 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.315e-05/0.01046, allocations: 31.67 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01073, allocations: 23.92 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.0111, allocations: 166.8 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.01114, allocations: 67.34 kB / 0.8857 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.01117, allocations: 4.734 kB / 0.8857 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.01119, allocations: 16.48 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of SimCode: time 1.373e-06/0.0112, allocations: 0 / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.004688/0.01588, allocations: 2.33 MB / 0.8879 GB, free: 11.86 MB / 0.8542 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.611991208046675]