Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_9_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.007608/0.007608, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001291/0.001291, allocations: 197.9 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 66.89 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3094, allocations: 140.4 MB / 1.087 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002407/0.3118, allocations: 0.6735 MB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3137, allocations: 1.2 MB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.3138, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3139, allocations: 3.938 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.463e-05/0.314, allocations: 11.88 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.3148, allocations: 231.1 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3151, allocations: 187.6 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3152, allocations: 15.97 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3154, allocations: 71.88 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3156, allocations: 59.86 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.3156, allocations: 16 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3157, allocations: 39.91 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.3158, allocations: 11.92 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.3159, allocations: 55.84 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3161, allocations: 158.5 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3161, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3162, allocations: 3.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.3162, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 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.0006557/0.3168, allocations: 435.6 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.3169, allocations: 12.03 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3169, allocations: 34.73 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.317, allocations: 16.84 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3171, allocations: 172.2 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3172, allocations: 8.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3172, allocations: 12.12 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3173, allocations: 57.61 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3174, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3174, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3174, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.3174, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.318, allocations: 360.7 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.741e-05/0.3181, allocations: 42.52 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.3181, allocations: 16.94 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3181, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3183, allocations: 91.27 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3183, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002838/0.3186, allocations: 125.6 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3187, allocations: 51.41 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3188, allocations: 125.7 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.3188, allocations: 33.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.3189, allocations: 92.36 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3189, allocations: 15.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.319, allocations: 53.69 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3191, allocations: 326.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3193, allocations: 64.34 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3194, allocations: 102 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3196, allocations: 189.3 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3196, allocations: 3.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004295/0.3201, allocations: 280.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.3202, allocations: 67.39 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3202, allocations: 4.156 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3202, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.3203, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3203, allocations: 11.92 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.3206, allocations: 59.78 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.3206, allocations: 15.94 kB / 1.093 GB, free: 12.17 MB / 0.8575 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.0001054/0.3207, allocations: 129.8 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.3208, allocations: 7.906 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3208, allocations: 8.375 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3208, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3208, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3208, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3211, allocations: 358.5 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3211, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3212, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3212, allocations: 7.938 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3212, allocations: 8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3212, allocations: 3.938 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3212, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3214, allocations: 199.4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3214, allocations: 81.11 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3215, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.3215, allocations: 4.031 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3216, allocations: 15.97 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3216, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.3216, allocations: 95.81 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3216, allocations: 192 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002744/0.3219, allocations: 28 kB / 1.094 GB, free: 11.13 MB / 0.8575 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.0004878/0.3224, allocations: 0.7435 MB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.3228, allocations: 258.6 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3228, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.3228, allocations: 35.97 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3231, allocations: 25.62 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3251, allocations: 1.864 MB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3254, allocations: 0.6885 MB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.3254, allocations: 8.656 kB / 1.097 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.3255, allocations: 19.44 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3255, allocations: 0 / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.3474, allocations: 3.086 MB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.047, allocations: 1.891 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches