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.0008839/0.0008839, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0009715/0.0009715, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9132/0.9132, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.691/1.691, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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 3.025e-06/3.025e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.933e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00131/0.001339, allocations: 0.6692 MB / 0.9524 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002504, allocations: 1.221 MB / 0.9536 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.002547, allocations: 0 / 0.9536 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.002716, allocations: 3.938 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.002784, allocations: 23.84 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.003296, allocations: 211.5 kB / 0.9538 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.003472, allocations: 179.7 kB / 0.954 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.003557, allocations: 11.94 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.00367, allocations: 103.8 kB / 0.9541 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.003772, allocations: 55.84 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.0038, allocations: 16 kB / 0.9542 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.003861, allocations: 31.92 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.003886, allocations: 8 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.003944, allocations: 51.94 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.004143, allocations: 187.5 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004146, allocations: 0 / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004147, allocations: 0 / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.004151, allocations: 4 kB / 0.9544 GB, free: 220 kB / 0.9011 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.0004336/0.004585, allocations: 365.5 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.004623, allocations: 8.031 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.004673, allocations: 12.89 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.004756, allocations: 121.7 kB / 0.9549 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.004777, allocations: 8.359 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.004799, allocations: 12.38 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004902, allocations: 58.11 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.004912, allocations: 7.922 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.004922, allocations: 0 / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004926, allocations: 4 kB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.004956, allocations: 12 kB / 0.955 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.005336, allocations: 272.5 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.005411, allocations: 38.45 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.005432, allocations: 16.94 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.00544, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.005588, allocations: 103.3 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.005589, allocations: 0 / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002445/0.005833, allocations: 129.8 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.005869, allocations: 55.41 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.005944, allocations: 117.8 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.005967, allocations: 29.8 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.006017, allocations: 104.2 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.006032, allocations: 19.84 kB / 0.9559 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.006096, allocations: 53.69 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.006169, allocations: 322.8 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.006289, allocations: 123.4 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.006417, allocations: 161.4 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.006566, allocations: 189.3 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.00657, allocations: 3.938 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003294/0.0069, allocations: 348.2 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.006945, allocations: 67.39 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.006952, allocations: 4 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.006965, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.007011, allocations: 4 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.007019, allocations: 12.09 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.007205, allocations: 55.81 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.007226, allocations: 15.98 kB / 0.9572 GB, free: 13.11 MB / 0.9167 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 8.119e-05/0.007308, allocations: 125.8 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.007319, allocations: 11.94 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.007342, allocations: 8.438 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007344, allocations: 4 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.00735, allocations: 4 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007353, allocations: 0 / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.007582, allocations: 302.1 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.007584, allocations: 0 / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-06/0.007591, allocations: 4 kB / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007593, allocations: 0 / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.007602, allocations: 4 kB / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.007604, allocations: 7.922 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.007608, allocations: 4 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.007736, allocations: 199.4 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.007745, allocations: 11.95 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.007759, allocations: 4 kB / 0.9578 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.007793, allocations: 0 / 0.9578 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.007824, allocations: 7.984 kB / 0.9578 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.00784, allocations: 11.98 kB / 0.9578 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.007875, allocations: 87.28 kB / 0.9579 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007875, allocations: 0 / 0.9579 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001948/0.008069, allocations: 31.98 kB / 0.958 GB, free: 12.23 MB / 0.9167 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.0001372/0.008207, allocations: 110.4 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.008474, allocations: 298 kB / 0.9583 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.008476, allocations: 0 / 0.9583 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.008515, allocations: 23.98 kB / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.008742, allocations: 19.92 kB / 0.9584 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.009045, allocations: 194.9 kB / 0.9586 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.009091, allocations: 75.64 kB / 0.9586 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.009109, allocations: 20.44 kB / 0.9587 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.00911, allocations: 0 / 0.9587 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of Templates: time 0.002351/0.01146, allocations: 1.513 MB / 0.9601 GB, free: 9.918 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] 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: 6.434753053821623]