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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001794/0.001794, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 196.7 kB / 16.53 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 71.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7889, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002851/0.7918, allocations: 0.6849 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.7936, allocations: 1.206 MB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.7937, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.7937, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.7938, allocations: 15.86 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.7947, allocations: 219.9 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.795, allocations: 191.6 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.7951, allocations: 8 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.7953, allocations: 75.88 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.7954, allocations: 47.86 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.7955, allocations: 16 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.7956, allocations: 35.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.7956, allocations: 15.92 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.7957, allocations: 59.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.796, allocations: 153.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.796, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.796, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.796, allocations: 0 / 1.02 GB, free: 15.81 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.0006357/0.7967, allocations: 438.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.7967, allocations: 12.03 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.7968, allocations: 30.75 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.7969, allocations: 12.84 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.797, allocations: 172.3 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.7971, allocations: 16.36 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.7971, allocations: 8.375 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.7973, allocations: 53.62 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7973, allocations: 3.984 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7974, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7974, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.7974, allocations: 12 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.7981, allocations: 372.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.7982, allocations: 34.67 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.7982, allocations: 16.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.7982, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.7984, allocations: 95.23 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.7984, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.00031/0.7987, allocations: 129.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7988, allocations: 55.41 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7989, allocations: 121.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.7989, allocations: 29.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.799, allocations: 92.28 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.799, allocations: 23.73 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.7992, allocations: 53.69 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7993, allocations: 322.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.7994, allocations: 67.95 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.7996, allocations: 104.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.7999, allocations: 189.3 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7999, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004619/0.8004, allocations: 276.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.8004, allocations: 68.95 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8004, allocations: 4 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8005, allocations: 4.156 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.8005, allocations: 15.92 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8005, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.8009, allocations: 51.84 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.801, allocations: 19.98 kB / 1.023 GB, free: 12.63 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.0001202/0.8011, allocations: 126.3 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.8011, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.8011, allocations: 12.73 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8012, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8012, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8012, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.8015, allocations: 366.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8015, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-06/0.8016, allocations: 3.938 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.8016, allocations: 7.984 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.8016, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8016, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8016, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.8018, allocations: 195.4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.8019, allocations: 85.02 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.8019, allocations: 7.984 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.802, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.802, allocations: 11.94 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.802, allocations: 7.984 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.8021, allocations: 87.83 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8021, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002875/0.8024, allocations: 35.98 kB / 1.024 GB, free: 11.59 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.0005452/0.8029, allocations: 0.7475 MB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.8033, allocations: 262.9 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8034, allocations: 3.938 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.8034, allocations: 35.92 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.8037, allocations: 19.92 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.806, allocations: 1.845 MB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.8063, allocations: 0.6846 MB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.8063, allocations: 12.59 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.8064, allocations: 23.88 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.8064, allocations: 8 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.8287, allocations: 2.978 MB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.533, allocations: 15.73 kB / 1.03 GB, free: 4.848 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