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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_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.00511/0.00511, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001405/0.001405, allocations: 188.6 kB / 16.67 MB, free: 5.926 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.442/2.442, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5952, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001505/0.5968, allocations: 0.6733 MB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.5981, allocations: 1.201 MB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.5981, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.5982, allocations: 3.938 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.5982, allocations: 7.922 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.5988, allocations: 229.3 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.599, allocations: 191.6 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.5991, allocations: 15.97 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.5992, allocations: 67.89 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.5993, allocations: 63.84 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.5993, allocations: 16 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.5994, allocations: 23.98 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.5994, allocations: 15.97 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.5995, allocations: 63.83 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.5997, allocations: 162.2 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5997, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5997, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.5997, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 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.0004543/0.6002, allocations: 439.6 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.6002, allocations: 8.031 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.6003, allocations: 38.75 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.6003, allocations: 16.89 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6004, allocations: 172.3 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6004, allocations: 12.36 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.6005, allocations: 12.12 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.6006, allocations: 49.69 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.6006, allocations: 3.984 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.6006, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.6006, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.6006, allocations: 19.88 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.6011, allocations: 348.7 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.6011, allocations: 38.67 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.6012, allocations: 20.84 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.6012, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.6013, allocations: 95.23 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.6014, allocations: 7.938 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002363/0.6016, allocations: 129.5 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6016, allocations: 55.41 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.6017, allocations: 118.2 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.6018, allocations: 37.7 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.6018, allocations: 88.38 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.6019, allocations: 23.8 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.602, allocations: 49.69 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6021, allocations: 322.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6022, allocations: 67.95 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.6024, allocations: 113.9 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.6026, allocations: 181.3 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6026, allocations: 0 / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004179/0.603, allocations: 284.8 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.6031, allocations: 67.39 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6031, allocations: 0 / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.6031, allocations: 4 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.6032, allocations: 12.14 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.6032, allocations: 7.984 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.6035, allocations: 51.94 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.6035, allocations: 15.92 kB / 1.226 GB, free: 12.12 MB / 0.9512 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 9.931e-05/0.6036, allocations: 130.8 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.6036, allocations: 12.33 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.6037, allocations: 8.375 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6037, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6037, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6037, allocations: 7.922 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.604, allocations: 358.5 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.604, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-06/0.604, allocations: 7.938 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.604, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.604, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.604, allocations: 11.92 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.604, allocations: 4 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.6042, allocations: 195.4 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.6043, allocations: 81.06 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6043, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.6043, allocations: 3.938 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.6044, allocations: 8.078 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.6044, allocations: 11.98 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.6044, allocations: 99.42 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6045, allocations: 0 / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002468/0.6047, allocations: 28 kB / 1.227 GB, free: 11.06 MB / 0.9512 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.000462/0.6052, allocations: 0.7402 MB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.6055, allocations: 262.9 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6055, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.6056, allocations: 35.92 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.6059, allocations: 26.27 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.6078, allocations: 1.856 MB / 1.229 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6081, allocations: 0.6962 MB / 1.23 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.6082, allocations: 4.672 kB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.6082, allocations: 27.42 kB / 1.23 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6082, allocations: 3.938 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.923/5.532, allocations: 3.01 MB / 1.233 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/21.67, allocations: 24.81 kB / 1.233 GB, free: 4.309 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > 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/jenkins1/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