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.001406/0.001406, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001525/0.001525, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9286/0.9286, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.89/1.89, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.076e-06/3.076e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.475e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001979/0.002014, allocations: 0.6988 MB / 0.8122 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.003719, allocations: 1.253 MB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.003768, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.003803, allocations: 3.938 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.003889, allocations: 21.55 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.004529, allocations: 209 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.004772, allocations: 179.7 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.004863, allocations: 4 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.005019, allocations: 105.2 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.005159, allocations: 55.84 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.005198, allocations: 19.94 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.005278, allocations: 27.92 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.005304, allocations: 9.75 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.005385, allocations: 59.88 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005606, allocations: 135.7 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005609, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00561, allocations: 1.094 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005614, allocations: 0 / 0.8143 GB, free: 14.95 MB / 0.7761 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.0005836/0.006198, allocations: 467.8 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.006255, allocations: 8.906 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.00635, allocations: 12.92 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006493, allocations: 124.4 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.006526, allocations: 5.438 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.006563, allocations: 16.38 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.006728, allocations: 57.34 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.00674, allocations: 3.938 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.006753, allocations: 0 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.006763, allocations: 0 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.006798, allocations: 15.98 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.007393, allocations: 323.7 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.00751, allocations: 43.52 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.007535, allocations: 11.69 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.00754, allocations: 0.8125 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/0.007935, allocations: 109.4 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.007937, allocations: 1.594 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002825/0.008219, allocations: 113.6 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.008261, allocations: 55.39 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008371, allocations: 177.9 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.008404, allocations: 30.33 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.008479, allocations: 143 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.008499, allocations: 16.59 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/0.008594, allocations: 59.34 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.008733, allocations: 0.4891 MB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.008889, allocations: 115.4 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.009068, allocations: 174 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.009273, allocations: 194.8 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.009278, allocations: 5.156 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004756/0.009753, allocations: 341.1 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.009806, allocations: 67.39 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.009813, allocations: 2.219 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.009828, allocations: 11.88 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.141e-05/0.009889, allocations: 4 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.009901, allocations: 4 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.01012, allocations: 47 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.01016, allocations: 19.98 kB / 0.8174 GB, free: 11.4 MB / 0.7761 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.0001047/0.01026, allocations: 172.5 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.01029, allocations: 11.95 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.01032, allocations: 8.438 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01032, allocations: 0 / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01032, allocations: 0 / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01033, allocations: 5.203 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.01063, allocations: 341.5 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01063, allocations: 3.984 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.01064, allocations: 8.609 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.01065, allocations: 0 / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01066, allocations: 0.5625 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.01066, allocations: 4.656 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01067, allocations: 0 / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.0109, allocations: 249.4 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.01092, allocations: 4 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01094, allocations: 4 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.011, allocations: 4 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.01103, allocations: 3.984 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01105, allocations: 5.188 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.0111, allocations: 135.2 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0111, allocations: 0 / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000313/0.01142, allocations: 37.03 kB / 0.8183 GB, free: 10.36 MB / 0.7761 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.0001659/0.01158, allocations: 107.8 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.01194, allocations: 286.6 kB / 0.8187 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01194, allocations: 1.156 kB / 0.8187 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.012, allocations: 31.61 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01231, allocations: 37.59 kB / 0.8188 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.01269, allocations: 163.7 kB / 0.8189 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.01274, allocations: 68.38 kB / 0.819 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.01277, allocations: 9.844 kB / 0.819 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.01279, allocations: 12.5 kB / 0.819 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.0128, allocations: 0 / 0.819 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.005598/0.01839, allocations: 2.332 MB / 0.8213 GB, free: 7.301 MB / 0.7761 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.180319398175925]