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.002205/0.002205, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002789/0.002789, allocations: 211.5 kB / 22.24 MB, free: 4.855 MB / 14.72 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.404/3.404, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.3 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4173, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00218/0.4195, allocations: 0.6704 MB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.4213, allocations: 1.233 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.4214, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.4214, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.4215, allocations: 15.86 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.4222, allocations: 214.3 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4224, allocations: 179.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.4225, allocations: 15.98 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4227, allocations: 63.91 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.4228, allocations: 67.77 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.4228, allocations: 16 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.4229, allocations: 20 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.423, allocations: 15.97 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.4231, allocations: 51.91 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.4233, allocations: 159.5 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4233, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4233, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4233, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 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.0006086/0.4239, allocations: 369.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.424, allocations: 8.031 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.424, allocations: 12.89 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.4242, allocations: 114.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.4242, allocations: 8.375 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4242, allocations: 12.36 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4244, allocations: 49.62 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4244, allocations: 7.938 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4244, allocations: 3.984 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4244, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.871e-05/0.4244, allocations: 12 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.425, allocations: 288.2 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.4251, allocations: 34.58 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.4251, allocations: 16.94 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.4251, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.4253, allocations: 95.28 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4253, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003139/0.4256, allocations: 129.5 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4257, allocations: 55.41 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4258, allocations: 121.7 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.4258, allocations: 41.7 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.4259, allocations: 92.36 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.4259, allocations: 11.91 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.426, allocations: 53.69 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4262, allocations: 322.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4264, allocations: 123.4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.4266, allocations: 165.4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.4269, allocations: 193.3 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4269, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005456/0.4274, allocations: 348.2 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.4275, allocations: 67.39 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4275, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4275, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.4276, allocations: 7.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4276, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.4279, allocations: 60.36 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.428, allocations: 19.98 kB / 1.331 GB, free: 12.05 MB / 1.029 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.0001222/0.4281, allocations: 123.6 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.4281, allocations: 11.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4281, allocations: 12.31 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4281, allocations: 7.938 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4281, allocations: 7.938 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4281, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.4285, allocations: 302.1 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4285, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4285, allocations: 7.984 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4285, allocations: 4.078 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4288, allocations: 207.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.4288, allocations: 3.953 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.4288, allocations: 8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.4288, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4289, allocations: 11.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4289, allocations: 3.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.429, allocations: 95.22 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.429, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002963/0.4293, allocations: 35.98 kB / 1.332 GB, free: 11.16 MB / 1.029 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.0001545/0.4294, allocations: 99.19 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.4299, allocations: 298 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4299, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.4299, allocations: 28.11 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4303, allocations: 24.11 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.4306, allocations: 166.5 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.4307, allocations: 76.58 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.4307, allocations: 8.672 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.4308, allocations: 19.42 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4308, allocations: 0 / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of Templates: time 0.005633/0.4364, allocations: 2.156 MB / 1.335 GB, free: 8.258 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.950665196403861]