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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 200.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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 0.002073/0.002073, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8208, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00193/0.8227, allocations: 0.6945 MB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.8244, allocations: 1.198 MB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.8245, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.8245, allocations: 7.922 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.8246, allocations: 11.94 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.8254, allocations: 226.7 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.8256, allocations: 187.6 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.8257, allocations: 4 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.8258, allocations: 71.89 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.826, allocations: 63.83 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.826, allocations: 16 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.8261, allocations: 27.98 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.8261, allocations: 19.91 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.8262, allocations: 55.91 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.8264, allocations: 162.1 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8264, allocations: 4 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8264, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8264, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 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.0006042/0.827, allocations: 438.7 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8271, allocations: 12.03 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.8272, allocations: 8.891 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8273, allocations: 176.3 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.8273, allocations: 8.375 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.8273, allocations: 12.38 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.8275, allocations: 53.61 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.8275, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8275, allocations: 4 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.8275, allocations: 0 / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.8275, allocations: 19.92 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.8281, allocations: 352.7 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.8282, allocations: 40.11 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.8283, allocations: 16.86 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.8283, allocations: 0 / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.8285, allocations: 103.3 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.8285, allocations: 0 / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003053/0.8288, allocations: 125.5 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.8289, allocations: 59.41 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.829, allocations: 121.8 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.829, allocations: 29.7 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.8291, allocations: 88.38 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.8292, allocations: 23.84 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.8293, allocations: 53.69 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8294, allocations: 322.8 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.8295, allocations: 59.97 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.8297, allocations: 113.9 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.83, allocations: 189.3 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.83, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004845/0.8305, allocations: 280.8 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.8305, allocations: 72.95 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8305, allocations: 3.938 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8306, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.8306, allocations: 4 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8306, allocations: 4.156 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.831, allocations: 59.88 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.831, allocations: 11.98 kB / 1.279 GB, free: 14.68 MB / 0.9825 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.0001244/0.8311, allocations: 125.7 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.8311, allocations: 11.95 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.8312, allocations: 16.36 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8312, allocations: 4.031 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8312, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8312, allocations: 3.984 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.8316, allocations: 354.5 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8316, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.8316, allocations: 3.984 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8316, allocations: 4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8316, allocations: 4.469 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8316, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8316, allocations: 7.938 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.8318, allocations: 203.4 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.8319, allocations: 81.06 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.8319, allocations: 3.984 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.8319, allocations: 4 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.832, allocations: 11.92 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.832, allocations: 8 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.8321, allocations: 99.27 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8321, allocations: 0 / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002888/0.8323, allocations: 31.94 kB / 1.28 GB, free: 13.62 MB / 0.9825 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.0002004/0.8325, allocations: 110.4 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.833, allocations: 230.7 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.833, allocations: 0 / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.833, allocations: 28.23 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.8333, allocations: 23.98 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.8337, allocations: 182.3 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.834, allocations: 0.6885 MB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.8341, allocations: 8.672 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.8341, allocations: 11.44 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/0.8341, allocations: 4 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of Templates: time 0.005359/0.8394, allocations: 1.956 MB / 1.284 GB, free: 10.33 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.611028858926147]