Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 98.19 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.299e-05, allocations: 6.25 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9762/1.299, allocations: 148.7 MB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.3, allocations: 68.94 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009227/1.309, allocations: 2.929 MB / 1.354 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/1.309, allocations: 4 kB / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.309, allocations: 3.875 kB / 1.354 GB, free: 34 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.0004051/1.309, allocations: 413.9 kB / 1.355 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.309, allocations: 7.656 kB / 1.355 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/1.31, allocations: 10.98 kB / 1.355 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/1.31, allocations: 175.5 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.31, allocations: 0.7969 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/1.31, allocations: 12.33 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.541e-05/1.31, allocations: 11.44 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/1.31, allocations: 49.73 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/1.31, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.31, allocations: 0.75 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/1.31, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/1.31, allocations: 334.3 kB / 1.355 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/1.31, allocations: 34.89 kB / 1.355 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/1.311, allocations: 23.27 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/1.311, allocations: 0.5625 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/1.311, allocations: 80.14 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/1.311, allocations: 0 / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002247/1.311, allocations: 105 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/1.311, allocations: 51.92 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.311, allocations: 116.5 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/1.311, allocations: 33.58 kB / 1.356 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/1.311, allocations: 93.03 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/1.311, allocations: 20.66 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/1.311, allocations: 0 / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.311, allocations: 325.1 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.312, allocations: 53.72 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/1.312, allocations: 103.5 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/1.312, allocations: 69.58 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.312, allocations: 3.875 kB / 1.356 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005135/1.313, allocations: 219.1 kB / 1.356 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/1.313, allocations: 66.11 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.313, allocations: 4.578 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.313, allocations: 3.812 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/1.313, allocations: 8.672 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/1.313, allocations: 4.688 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/1.313, allocations: 70.25 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/1.313, allocations: 14.52 kB / 1.357 GB, free: 32.18 MB / 0.8386 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 () * 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.0001147/1.313, allocations: 126.3 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/1.313, allocations: 8.344 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/1.313, allocations: 8.922 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.313, allocations: 4.438 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.313, allocations: 0 / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.313, allocations: 0.6094 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/1.314, allocations: 325.8 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.314, allocations: 0 / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/1.314, allocations: 4 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.314, allocations: 0 / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.314, allocations: 5.375 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.314, allocations: 192 / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.314, allocations: 3.938 kB / 1.357 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/1.314, allocations: 196.3 kB / 1.357 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/1.314, allocations: 85.61 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/1.314, allocations: 4.953 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/1.314, allocations: 4.656 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/1.314, allocations: 10.17 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.314, allocations: 8.5 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.991e-05/1.314, allocations: 89.11 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.314, allocations: 0 / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003068/1.314, allocations: 36.02 kB / 1.357 GB, free: 31.45 MB / 0.8386 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) * 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.0001815/1.315, allocations: 109.1 kB / 1.358 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002913/1.315, allocations: 244.7 kB / 1.358 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.315, allocations: 0 / 1.358 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/1.315, allocations: 33.55 kB / 1.358 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/1.315, allocations: 15.83 kB / 1.358 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/1.315, allocations: 100.1 kB / 1.358 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/1.316, allocations: 0.6892 MB / 1.359 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.296e-05/1.316, allocations: 14.22 kB / 1.359 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/1.316, allocations: 12.09 kB / 1.359 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.316, allocations: 0 / 1.359 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.004243/1.32, allocations: 1.622 MB / 1.36 GB, free: 30.3 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches