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.0009471/0.0009471, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009505/0.0009505, allocations: 165 kB / 24.17 MB, free: 328 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.95/0.95, allocations: 177.1 MB / 204.6 MB, free: 4.984 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.916e-06/2.916e-06, allocations: 4 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.827e-05, allocations: 3.078 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001153/0.001171, allocations: 0.6984 MB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002347, allocations: 1.256 MB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.002386, allocations: 0.875 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.002415, allocations: 7.922 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.002486, allocations: 8.562 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.002982, allocations: 218.8 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.003162, allocations: 176.9 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.003224, allocations: 7.984 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.003332, allocations: 106.5 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.003429, allocations: 47.91 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.003454, allocations: 17 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.003511, allocations: 35.92 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.003533, allocations: 12.45 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.003585, allocations: 47.95 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.003734, allocations: 148.7 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003736, allocations: 0 / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003737, allocations: 0 / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.00374, allocations: 0.7188 kB / 0.7627 GB, free: 3.883 MB / 0.7136 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.0003178/0.004058, allocations: 332.2 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.004084, allocations: 9 kB / 0.7631 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.004118, allocations: 12.92 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.004192, allocations: 111 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.004208, allocations: 12.38 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.004229, allocations: 8.375 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.004295, allocations: 58.92 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004302, allocations: 4.969 kB / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.004308, allocations: 0 / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004312, allocations: 0 / 0.7633 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.004328, allocations: 16.5 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.00459, allocations: 186 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.004651, allocations: 26.56 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.043e-05/0.004662, allocations: 8.859 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-06/0.004665, allocations: 0 / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/0.00475, allocations: 92.53 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.004751, allocations: 0 / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001251/0.004876, allocations: 82.34 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.004911, allocations: 59.39 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.00498, allocations: 127.2 kB / 0.7638 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.005003, allocations: 33.7 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.005042, allocations: 93.09 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.005056, allocations: 19.89 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.005112, allocations: 46.67 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.005184, allocations: 322.8 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.005253, allocations: 95.38 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.005341, allocations: 146.5 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.005447, allocations: 159 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.005449, allocations: 4 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000198/0.005647, allocations: 277.2 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.005683, allocations: 68.33 kB / 0.765 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005688, allocations: 4 kB / 0.765 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005699, allocations: 1 kB / 0.765 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.486e-05/0.005734, allocations: 8 kB / 0.765 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.005739, allocations: 7.969 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.005869, allocations: 46.67 kB / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.005887, allocations: 11.98 kB / 0.7651 GB, free: 1.172 MB / 0.7136 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 6.714e-05/0.005954, allocations: 121.8 kB / 0.7652 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.005965, allocations: 14.58 kB / 0.7652 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.005985, allocations: 8.438 kB / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005988, allocations: 8 kB / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005989, allocations: 0 / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005992, allocations: 0 / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.006136, allocations: 218.8 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.006138, allocations: 8.031 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-06/0.006142, allocations: 1.219 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006144, allocations: 3.984 kB / 0.7655 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.00615, allocations: 3.984 kB / 0.7655 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.00615, allocations: 0 / 0.7655 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006152, allocations: 6.281 kB / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.006228, allocations: 163.4 kB / 0.7656 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.006236, allocations: 11.89 kB / 0.7657 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.00625, allocations: 8 kB / 0.7657 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.006279, allocations: 3.984 kB / 0.7657 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.006301, allocations: 4 kB / 0.7657 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.006309, allocations: 6.422 kB / 0.7657 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.521e-05/0.006324, allocations: 16.86 kB / 0.7657 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006325, allocations: 0 / 0.7657 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001613/0.006486, allocations: 35.92 kB / 0.7657 GB, free: 0.4922 MB / 0.7136 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 9.205e-05/0.006578, allocations: 90.33 kB / 0.7658 GB, free: 408 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.006771, allocations: 262.9 kB / 0.7661 GB, free: 104 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006773, allocations: 0 / 0.7661 GB, free: 104 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.006799, allocations: 29.34 kB / 0.7661 GB, free: 72 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.006937, allocations: 25.58 kB / 0.7661 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.007155, allocations: 163.4 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.007185, allocations: 63.33 kB / 0.7663 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.007204, allocations: 8.719 kB / 0.7663 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.007292, allocations: 75.36 kB / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.007292, allocations: 0 / 0.7664 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.003291/0.01058, allocations: 2.305 MB / 0.7687 GB, free: 13.52 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] 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","",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.066380839329213]