Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008788/0.008788, allocations: 95.23 kB / 15.73 MB, free: 6.047 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.001754/0.001755, allocations: 206.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.937/2.937, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3882, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00199/0.3902, allocations: 0.6852 MB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3921, allocations: 1.199 MB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3922, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.3922, allocations: 3.938 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3923, allocations: 19.84 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.3932, allocations: 226.9 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.3935, allocations: 183.8 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3936, allocations: 15.97 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3937, allocations: 67.89 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.3939, allocations: 71.77 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.394, allocations: 20 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3941, allocations: 31.92 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.3941, allocations: 8 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3942, allocations: 59.81 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3945, allocations: 155.6 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3945, allocations: 7.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3945, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3945, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 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.0006948/0.3952, allocations: 442.6 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3953, allocations: 8.031 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.3954, allocations: 16.89 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3956, allocations: 172.3 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.3956, allocations: 8.375 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3956, allocations: 8.375 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3958, allocations: 57.55 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3958, allocations: 3.938 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3958, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3958, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.3959, allocations: 12 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.3965, allocations: 364.7 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.3966, allocations: 38.56 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.3967, allocations: 20.8 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.3967, allocations: 0 / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3969, allocations: 91.41 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.3969, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002946/0.3972, allocations: 125.5 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.3972, allocations: 55.41 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3974, allocations: 121.8 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3974, allocations: 29.7 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.3975, allocations: 92.36 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3975, allocations: 23.84 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.3976, allocations: 53.69 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3978, allocations: 318.8 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3979, allocations: 71.83 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.3981, allocations: 110 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.3983, allocations: 181.3 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3983, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004573/0.3988, allocations: 288.8 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.3989, allocations: 67.39 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3989, allocations: 4.156 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3989, allocations: 4 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.399, allocations: 4 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.399, allocations: 4 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.3993, allocations: 52.25 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.3994, allocations: 15.98 kB / 1.172 GB, free: 0.9453 MB / 0.92 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.000118/0.3995, allocations: 133.7 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.3995, allocations: 7.953 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.3995, allocations: 16.3 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3995, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3996, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3996, allocations: 4 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.3999, allocations: 354.5 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3999, allocations: 0 / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.3999, allocations: 4 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3999, allocations: 4 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.4, allocations: 3.984 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4, allocations: 4 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4, allocations: 3.938 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4002, allocations: 195.4 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.4002, allocations: 85.06 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.4003, allocations: 3.984 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.4003, allocations: 4 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.4004, allocations: 15.88 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4004, allocations: 8.078 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.4005, allocations: 91.27 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4005, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002844/0.4008, allocations: 35.94 kB / 1.173 GB, free: 15.89 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.0001927/0.401, allocations: 99.25 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.4014, allocations: 270.8 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4014, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.4014, allocations: 32.19 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4018, allocations: 24.05 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.4022, allocations: 179.4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.4026, allocations: 0.6885 MB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.4026, allocations: 8.672 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.4026, allocations: 11.44 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.4026, allocations: 0 / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.004787/0.4074, allocations: 1.917 MB / 1.176 GB, free: 12.6 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches