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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_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.00598/0.00598, allocations: 96.73 kB / 15.73 MB, free: 6.047 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.001176/0.001176, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3399, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001866/0.3418, allocations: 0.6768 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3433, allocations: 1.199 MB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.3433, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.3433, allocations: 3.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.3434, allocations: 23.84 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.3441, allocations: 218.5 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.3444, allocations: 175.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.3445, allocations: 8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3446, allocations: 71.81 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3447, allocations: 71.83 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3447, allocations: 12 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.3448, allocations: 31.98 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3448, allocations: 11.94 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3449, allocations: 59.88 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3451, allocations: 159.5 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3451, allocations: 3.938 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3451, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3451, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 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.0005146/0.3456, allocations: 438.7 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3457, allocations: 8.031 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.3457, allocations: 12.89 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3458, allocations: 184.3 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3459, allocations: 12.31 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3459, allocations: 8.375 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.346, allocations: 57.61 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.346, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.346, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.346, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/0.3461, allocations: 12 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3466, allocations: 352.7 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.3467, allocations: 42.5 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.3467, allocations: 12.86 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.3467, allocations: 3.938 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3469, allocations: 91.41 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3469, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003067/0.3472, allocations: 125.5 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3472, allocations: 63.34 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.3473, allocations: 125.8 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.3474, allocations: 29.7 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.3474, allocations: 92.36 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3474, allocations: 27.78 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.3475, allocations: 49.69 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3476, allocations: 322.8 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3478, allocations: 64.33 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.348, allocations: 110 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.3482, allocations: 181.3 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3482, allocations: 0 / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004602/0.3486, allocations: 296.8 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.3487, allocations: 67.39 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3487, allocations: 4 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3487, allocations: 0 / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.3488, allocations: 4 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3488, allocations: 12.09 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.3491, allocations: 47.94 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.3491, allocations: 20.08 kB / 1.226 GB, free: 7.953 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.0001111/0.3492, allocations: 123.4 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3492, allocations: 11.94 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.3493, allocations: 16.36 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3493, allocations: 4 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3493, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3493, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3496, allocations: 366.3 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3496, allocations: 0 / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.3496, allocations: 3.938 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3496, allocations: 0 / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3496, allocations: 7.984 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3496, allocations: 0 / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3496, allocations: 7.938 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3498, allocations: 195.4 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.3499, allocations: 85.06 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3499, allocations: 7.984 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.3499, allocations: 0 / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.35, allocations: 7.938 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.35, allocations: 7.984 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.35, allocations: 91.28 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 192 / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000281/0.3503, allocations: 35.98 kB / 1.227 GB, free: 6.898 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.0001972/0.3505, allocations: 113.7 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.3509, allocations: 226.6 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3509, allocations: 0 / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.3509, allocations: 27.98 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3513, allocations: 20.3 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.3516, allocations: 182.2 kB / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3519, allocations: 0.6846 MB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.3519, allocations: 8.656 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.352, allocations: 11.44 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.352, allocations: 4 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.004656/0.3566, allocations: 1.93 MB / 1.23 GB, free: 3.645 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) 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) Reference file matches