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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8739, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001616/0.8756, allocations: 408.7 kB / 1.021 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.8785, allocations: 1.14 MB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.8786, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.8787, allocations: 3.938 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.8788, allocations: 15.97 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.8803, allocations: 197.1 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.8806, allocations: 87.88 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.8808, allocations: 11.94 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.8811, allocations: 59.88 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.8813, allocations: 47.88 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.8814, allocations: 11.94 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.8816, allocations: 19.98 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.8816, allocations: 15.91 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.8818, allocations: 41.7 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.8821, allocations: 103.8 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.8821, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.869e-06/0.8821, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.8821, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 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.000956/0.8831, allocations: 412.5 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/0.8832, allocations: 11.98 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.8833, allocations: 8 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.8836, allocations: 178.8 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.8837, allocations: 4 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.8838, allocations: 15.98 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.884, allocations: 57.62 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.884, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.8841, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.8841, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.8842, allocations: 15.98 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.8852, allocations: 356.7 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8854, allocations: 38.56 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.8855, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.8858, allocations: 99.3 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.935e-06/0.8858, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005556/0.8864, allocations: 121.6 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.8865, allocations: 51.78 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.8867, allocations: 137.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.8868, allocations: 29.7 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.8869, allocations: 92.36 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.887, allocations: 23.69 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.887, allocations: 4 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.8872, allocations: 318.8 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.8875, allocations: 59.97 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.8878, allocations: 114 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.8882, allocations: 119.3 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.8882, allocations: 3.953 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008284/0.889, allocations: 280.9 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.8891, allocations: 67.39 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8892, allocations: 4 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8892, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.8893, allocations: 12 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.8894, allocations: 3.938 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.89, allocations: 79.86 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.8901, allocations: 12 kB / 1.026 GB, free: 12 MB / 0.7794 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.8903, allocations: 125.8 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.8904, allocations: 15.86 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.8904, allocations: 8.375 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.8904, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.8905, allocations: 4 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.8905, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.8912, allocations: 362.4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8912, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.8912, allocations: 7.938 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8912, allocations: 0 / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.8912, allocations: 4 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.8913, allocations: 4 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8913, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.8917, allocations: 203.4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.8918, allocations: 77.2 kB / 1.026 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.8918, allocations: 15.88 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.8919, allocations: 4 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.892, allocations: 7.984 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.892, allocations: 8 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.217e-05/0.8921, allocations: 95.75 kB / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8921, allocations: 0 / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005019/0.8927, allocations: 32 kB / 1.026 GB, free: 10.95 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002608/0.8929, allocations: 109.8 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.8936, allocations: 258.6 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8936, allocations: 320 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.8937, allocations: 35.98 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.8941, allocations: 19.86 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.8947, allocations: 179 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.8951, allocations: 0.6965 MB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.8952, allocations: 4.953 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.8953, allocations: 11.44 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.8953, allocations: 0 / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of Templates: time 0.007528/0.9028, allocations: 1.742 MB / 1.029 GB, free: 7.84 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches