Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008794/0.008794, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 16 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5123, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0006759/0.513, allocations: 424.7 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.5142, allocations: 1.206 MB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.5143, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.5143, allocations: 3.984 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.5144, allocations: 7.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.5149, allocations: 206.5 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.5151, allocations: 151.7 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.5151, allocations: 19.91 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.5152, allocations: 59.89 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.5153, allocations: 47.86 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.5153, allocations: 12 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.5154, allocations: 23.98 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.5154, allocations: 11.94 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.361e-05/0.5155, allocations: 77.58 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.5157, allocations: 141.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5157, allocations: 4 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5157, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.5157, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 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.0003759/0.5161, allocations: 410.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5161, allocations: 12.03 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.5162, allocations: 38.73 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5162, allocations: 8.938 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.5163, allocations: 180.2 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5163, allocations: 4.375 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.5164, allocations: 16.11 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.5165, allocations: 49.69 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5165, allocations: 4 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.5165, allocations: 3.984 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5165, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.5166, allocations: 16 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.517, allocations: 360.6 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.5171, allocations: 38.56 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.5171, allocations: 20.94 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.5171, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.5172, allocations: 95.23 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5172, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.5175, allocations: 133.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.5175, allocations: 55.41 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.5176, allocations: 113.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.5176, allocations: 37.69 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.5177, allocations: 92.28 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5177, allocations: 27.73 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.5178, allocations: 25.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.5179, allocations: 326.8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.518, allocations: 59.97 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5181, allocations: 104.5 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.5183, allocations: 185.3 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5183, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003799/0.5187, allocations: 280.9 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.5188, allocations: 75.39 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5188, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5188, allocations: 4 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/0.5188, allocations: 7.938 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5188, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.5192, allocations: 79.92 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.5192, allocations: 15.94 kB / 1.028 GB, free: 10.3 MB / 0.7794 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.715e-05/0.5193, allocations: 122.4 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.5193, allocations: 7.906 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.5194, allocations: 12.38 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5194, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.5194, allocations: 4 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5194, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.5197, allocations: 370.3 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5197, allocations: 0 / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.5197, allocations: 4.406 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5197, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5197, allocations: 12 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5197, allocations: 3.938 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5197, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.5199, allocations: 203.3 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.5199, allocations: 85.02 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.5199, allocations: 0 / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.52, allocations: 3.938 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.52, allocations: 7.984 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.52, allocations: 12 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.5201, allocations: 91.27 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5201, allocations: 0 / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002493/0.5204, allocations: 28 kB / 1.029 GB, free: 9.246 MB / 0.7794 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.0003822/0.5207, allocations: 0.7358 MB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.521, allocations: 262.6 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5211, allocations: 0 / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.5211, allocations: 31.98 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.5214, allocations: 21.81 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.523, allocations: 1.874 MB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.5232, allocations: 0.6887 MB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.5232, allocations: 4.672 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.5233, allocations: 27.42 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5233, allocations: 4 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3967/0.92, allocations: 2.726 MB / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.9204, allocations: 208.1 kB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.639, allocations: 3.938 kB / 1.036 GB, free: 2.566 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches