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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001301/0.001301, allocations: 112.6 kB / 16.37 MB, free: 5.539 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.001307/0.001306, allocations: 197.4 kB / 17.31 MB, free: 5.18 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.52 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002389/0.3869, allocations: 0.682 MB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3885, allocations: 1.211 MB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.3886, allocations: 0 / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.3886, allocations: 3.938 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.3887, allocations: 11.88 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.3894, allocations: 230.3 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.3896, allocations: 183.8 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3897, allocations: 7.984 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3899, allocations: 71.88 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.39, allocations: 67.86 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.39, allocations: 19.94 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.3901, allocations: 27.92 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.3902, allocations: 15.97 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.3902, allocations: 59.83 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3905, allocations: 159.6 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3905, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3905, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3905, allocations: 0 / 1.021 GB, free: 7.102 MB / 0.795 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.0005775/0.3911, allocations: 442.6 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3911, allocations: 12.03 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.3912, allocations: 16.78 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3913, allocations: 168.4 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3914, allocations: 8.375 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.3914, allocations: 16.36 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3915, allocations: 49.75 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3915, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3916, allocations: 3.984 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3916, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.3916, allocations: 8 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3922, allocations: 372.6 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.3923, allocations: 38.52 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.3923, allocations: 16.94 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.3923, allocations: 4 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.3925, allocations: 87.36 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3925, allocations: 3.938 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0002788/0.3928, allocations: 125.5 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3928, allocations: 59.41 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.3929, allocations: 117.8 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.393, allocations: 29.7 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.393, allocations: 96.3 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3931, allocations: 15.81 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.3932, allocations: 57.69 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3933, allocations: 322.8 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3934, allocations: 59.97 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3936, allocations: 110 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.3938, allocations: 189.3 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3938, allocations: 3.938 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004348/0.3942, allocations: 280.7 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.3943, allocations: 75.55 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3943, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3943, allocations: 4 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.3944, allocations: 7.984 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3944, allocations: 3.938 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.3947, allocations: 55.78 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3947, allocations: 16 kB / 1.024 GB, free: 3.965 MB / 0.795 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.000113/0.3949, allocations: 131.3 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.3949, allocations: 4 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.3949, allocations: 12.38 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3949, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.395, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.395, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.3954, allocations: 362.7 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3954, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.3954, allocations: 4 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3954, allocations: 4 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3955, allocations: 96 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3955, allocations: 7.875 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3955, allocations: 3.938 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.3957, allocations: 199.5 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3957, allocations: 85.02 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3957, allocations: 0 / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.3958, allocations: 12 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3958, allocations: 7.922 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3959, allocations: 4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.3959, allocations: 91.27 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3959, allocations: 0 / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002703/0.3962, allocations: 36 kB / 1.025 GB, free: 2.918 MB / 0.795 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.0001657/0.3964, allocations: 103.2 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.3967, allocations: 266.8 kB / 1.025 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3967, allocations: 0 / 1.025 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.3968, allocations: 39.97 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3971, allocations: 15.36 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.3975, allocations: 174.4 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3978, allocations: 0.6936 MB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.3978, allocations: 8.938 kB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.3979, allocations: 19.42 kB / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3979, allocations: 0 / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of Templates: time 0.004769/0.4027, allocations: 1.909 MB / 1.028 GB, free: 15.64 MB / 0.8106 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 -s gbode -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/jenkins1/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