Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001473/0.001473, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001551/0.001551, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.011/3.011, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/4.005e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001925/0.001965, allocations: 0.672 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.003853, allocations: 1.228 MB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.003902, allocations: 0 / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.003938, allocations: 3.938 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.004021, allocations: 11.92 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.004758, allocations: 222.7 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.005045, allocations: 183.6 kB / 0.9837 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00515, allocations: 7.984 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.005328, allocations: 107.7 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.005477, allocations: 47.91 kB / 0.9838 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.005517, allocations: 16 kB / 0.9839 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.005609, allocations: 31.98 kB / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.005644, allocations: 11.92 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.638e-05/0.00574, allocations: 51.94 kB / 0.984 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.006151, allocations: 191.5 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.006155, allocations: 4 kB / 0.9841 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.006157, allocations: 0 / 0.9841 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.006166, allocations: 0 / 0.9841 GB, free: 9.191 MB / 0.9356 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.0006636/0.006829, allocations: 365.5 kB / 0.9845 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.006876, allocations: 8.031 kB / 0.9845 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.006946, allocations: 12.89 kB / 0.9845 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.0071, allocations: 113.7 kB / 0.9846 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.007126, allocations: 4.375 kB / 0.9846 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.007171, allocations: 16.38 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.007306, allocations: 50.17 kB / 0.9847 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.007317, allocations: 3.938 kB / 0.9847 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.007328, allocations: 4 kB / 0.9847 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007337, allocations: 4 kB / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.007378, allocations: 8 kB / 0.9847 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.007973, allocations: 276.5 kB / 0.985 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.008074, allocations: 34.5 kB / 0.985 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.008106, allocations: 20.8 kB / 0.985 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.008114, allocations: 0 / 0.985 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.008319, allocations: 99.39 kB / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.00832, allocations: 0 / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003198/0.00864, allocations: 137.8 kB / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.00869, allocations: 55.41 kB / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.008818, allocations: 125.7 kB / 0.9854 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.008859, allocations: 33.7 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.008947, allocations: 92.38 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.008969, allocations: 15.86 kB / 0.9856 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.009075, allocations: 49.69 kB / 0.9856 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.009263, allocations: 322.8 kB / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.009459, allocations: 127.3 kB / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.009709, allocations: 165.4 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.009966, allocations: 185.3 kB / 0.9864 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.009972, allocations: 3.938 kB / 0.9864 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005707/0.01054, allocations: 352.2 kB / 0.9867 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.01061, allocations: 67.39 kB / 0.9868 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01061, allocations: 4 kB / 0.9868 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01063, allocations: 4.156 kB / 0.9868 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.01069, allocations: 4 kB / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.0107, allocations: 7.984 kB / 0.9868 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.01104, allocations: 55.88 kB / 0.9868 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.01107, allocations: 8 kB / 0.9869 GB, free: 6.109 MB / 0.9356 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.0001578/0.01123, allocations: 133.7 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.01125, allocations: 11.95 kB / 0.987 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.01128, allocations: 8.438 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01129, allocations: 4.078 kB / 0.987 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01129, allocations: 4 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.0113, allocations: 4 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.01171, allocations: 298.1 kB / 0.9873 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01171, allocations: 0 / 0.9873 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.01172, allocations: 4 kB / 0.9873 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01173, allocations: 0 / 0.9873 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01174, allocations: 3.984 kB / 0.9873 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01174, allocations: 0 / 0.9873 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01174, allocations: 8 kB / 0.9873 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.01199, allocations: 207.4 kB / 0.9875 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.012, allocations: 11.95 kB / 0.9875 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01202, allocations: 0 / 0.9875 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.01208, allocations: 3.984 kB / 0.9875 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01212, allocations: 11.94 kB / 0.9875 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.01214, allocations: 7.984 kB / 0.9875 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.01221, allocations: 91.27 kB / 0.9876 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 0 / 0.9876 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002839/0.01249, allocations: 32 kB / 0.9877 GB, free: 5.219 MB / 0.9356 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.0002129/0.0127, allocations: 107.2 kB / 0.9878 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.01316, allocations: 294 kB / 0.988 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01317, allocations: 0 / 0.988 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.01322, allocations: 23.98 kB / 0.9881 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.01355, allocations: 22.84 kB / 0.9881 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.014, allocations: 169.6 kB / 0.9882 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.546e-05/0.01408, allocations: 75.28 kB / 0.9883 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.01412, allocations: 8.719 kB / 0.9883 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.01416, allocations: 16.5 kB / 0.9883 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of SimCode: time 7.61e-07/0.01416, allocations: 0 / 0.9883 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.005714/0.01987, allocations: 2.12 MB / 0.9904 GB, free: 2.367 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.479620289057493]