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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001076/0.001076, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.362/2.362, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.86 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6352, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00173/0.637, allocations: 0.7511 MB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.6384, allocations: 1.218 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.6384, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.6385, allocations: 3.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.6385, allocations: 7.922 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.6391, allocations: 202.9 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.6392, allocations: 159.7 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.6393, allocations: 11.98 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.6394, allocations: 63.83 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.6395, allocations: 51.86 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.6395, allocations: 8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.6396, allocations: 23.98 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.6396, allocations: 15.92 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.6397, allocations: 51.83 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.6399, allocations: 145.9 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6399, allocations: 4 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6399, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.6399, allocations: 4 kB / 1.019 GB, free: 52 kB / 0.7637 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.0004884/0.6404, allocations: 438.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6405, allocations: 12.03 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.6405, allocations: 30.75 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.6406, allocations: 12.84 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.6407, allocations: 172.3 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6407, allocations: 4.375 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.6407, allocations: 12.38 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6409, allocations: 57.55 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.6409, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.6409, allocations: 19.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.6414, allocations: 360.7 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.6415, allocations: 42.44 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.6415, allocations: 16.86 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.6416, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.6417, allocations: 99.42 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.6417, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002524/0.642, allocations: 129.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.642, allocations: 51.41 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.6421, allocations: 133.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6422, allocations: 37.7 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.6422, allocations: 88.38 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.6422, allocations: 23.73 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.6423, allocations: 49.69 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6425, allocations: 326.8 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.6426, allocations: 59.97 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.6427, allocations: 110 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.6429, allocations: 177.3 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6429, allocations: 7.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004074/0.6434, allocations: 276.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.6434, allocations: 67.39 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6434, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6434, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.6435, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6435, allocations: 3.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.6438, allocations: 59.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.6439, allocations: 12 kB / 1.022 GB, free: 12.88 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 0.000104/0.644, allocations: 131.2 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.644, allocations: 8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.644, allocations: 8.375 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6441, allocations: 4 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6441, allocations: 7.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6441, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.6444, allocations: 370.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6444, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.6444, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6444, allocations: 3.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6444, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6444, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6444, allocations: 4.125 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.6446, allocations: 203.4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.6447, allocations: 85.02 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.6447, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.6447, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.6448, allocations: 15.92 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.6448, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.6448, allocations: 91.27 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6448, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002618/0.6451, allocations: 36 kB / 1.023 GB, free: 11.82 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.0004378/0.6456, allocations: 0.728 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.6459, allocations: 262.9 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6459, allocations: 4.062 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.6459, allocations: 28 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.6462, allocations: 22.91 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.648, allocations: 1.872 MB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.6483, allocations: 0.6887 MB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.6483, allocations: 8.672 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.6483, allocations: 23.42 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6483, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.6604, allocations: 2.787 MB / 1.029 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.6606, allocations: 203.7 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.197, allocations: 0 / 1.03 GB, free: 5.062 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