Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002239/0.002239, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002672/0.002672, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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 1.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.924/2.924, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/4.044e-05, allocations: 3.969 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002439/0.002479, allocations: 0.6897 MB / 0.7871 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.004766, allocations: 1.234 MB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.004831, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.004866, allocations: 4.781 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.004971, allocations: 11.92 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.005765, allocations: 209.7 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.006093, allocations: 183.7 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006203, allocations: 8.656 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.006505, allocations: 103.9 kB / 0.7888 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.006701, allocations: 59.27 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.00676, allocations: 16 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.006857, allocations: 24 kB / 0.7889 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.006887, allocations: 7.984 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.007001, allocations: 55.89 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.007377, allocations: 187.5 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.007385, allocations: 3.984 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.007387, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.007397, allocations: 0 / 0.7891 GB, free: 10.05 MB / 0.7448 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.0007771/0.008175, allocations: 468.1 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.008226, allocations: 8.031 kB / 0.7896 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.008337, allocations: 21.42 kB / 0.7896 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.008515, allocations: 114.1 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.008552, allocations: 12.38 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.008602, allocations: 8.375 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.008754, allocations: 50.23 kB / 0.7898 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.008768, allocations: 3.938 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.008779, allocations: 1.531 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.008784, allocations: 0 / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.008833, allocations: 15.98 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.009449, allocations: 331.6 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.009574, allocations: 52.58 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.009608, allocations: 15.78 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.009622, allocations: 3.984 kB / 0.7902 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.009812, allocations: 109.5 kB / 0.7903 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.009814, allocations: 1.969 kB / 0.7903 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003732/0.01019, allocations: 129.6 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.01024, allocations: 59.39 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.01042, allocations: 181.9 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.01046, allocations: 33.7 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01058, allocations: 151 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.01061, allocations: 16.47 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.01073, allocations: 60.06 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.011, allocations: 0.4923 MB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.01123, allocations: 140.6 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.01151, allocations: 205.2 kB / 0.7917 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.01181, allocations: 218.8 kB / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.01182, allocations: 3.938 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006643/0.01248, allocations: 385.6 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.01257, allocations: 68.61 kB / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.01258, allocations: 4 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.0126, allocations: 0 / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.01266, allocations: 8.719 kB / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01267, allocations: 0 / 0.7923 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.01298, allocations: 53.06 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.01302, allocations: 13.11 kB / 0.7924 GB, free: 6.336 MB / 0.7448 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.0001937/0.01321, allocations: 176.5 kB / 0.7926 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.01324, allocations: 8.938 kB / 0.7926 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.01328, allocations: 12.53 kB / 0.7926 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01328, allocations: 3.984 kB / 0.7926 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01329, allocations: 0.8438 kB / 0.7926 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.01329, allocations: 3.984 kB / 0.7926 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.01376, allocations: 367.5 kB / 0.7929 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01376, allocations: 0 / 0.7929 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.01377, allocations: 0 / 0.7929 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01378, allocations: 4 kB / 0.7929 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01379, allocations: 4 kB / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.0138, allocations: 4 kB / 0.793 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.0138, allocations: 2.781 kB / 0.793 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01413, allocations: 255.8 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01415, allocations: 7.953 kB / 0.7932 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01417, allocations: 4 kB / 0.7932 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.01422, allocations: 0 / 0.7932 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01427, allocations: 7.984 kB / 0.7932 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.01428, allocations: 4 kB / 0.7932 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001052/0.01439, allocations: 144.6 kB / 0.7934 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01439, allocations: 0 / 0.7934 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002954/0.01469, allocations: 32 kB / 0.7934 GB, free: 5.254 MB / 0.7448 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.00022/0.01491, allocations: 107.7 kB / 0.7935 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.01556, allocations: 343.7 kB / 0.7938 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01556, allocations: 3.938 kB / 0.7938 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.01565, allocations: 47.61 kB / 0.7939 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.01602, allocations: 21.84 kB / 0.7939 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.01651, allocations: 175.5 kB / 0.7941 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.773e-05/0.01661, allocations: 79.3 kB / 0.7941 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.01664, allocations: 4.734 kB / 0.7941 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.01668, allocations: 12.5 kB / 0.7942 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.01668, allocations: 3.938 kB / 0.7942 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.006925/0.0236, allocations: 2.128 MB / 0.7962 GB, free: 2.316 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.076706635998562]