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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001659/0.001659, allocations: 187 kB / 17.34 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8724, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001668/0.8741, allocations: 0.6755 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.8754, allocations: 1.198 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.8755, allocations: 1.094 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.8755, allocations: 4.547 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.8756, allocations: 16 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.8762, allocations: 218.2 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.8764, allocations: 186.1 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.8765, allocations: 7.422 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.8767, allocations: 72.86 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.8768, allocations: 66.86 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.8768, allocations: 16.56 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.8769, allocations: 37.41 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.877, allocations: 9.203 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.8771, allocations: 59.16 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.8773, allocations: 154.7 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8773, allocations: 5 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8773, allocations: 0 / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8773, allocations: 0 / 1.091 GB, free: 3.875 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.0004321/0.8778, allocations: 439.3 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8778, allocations: 14.77 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.8779, allocations: 11.53 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.8779, allocations: 173.1 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.878, allocations: 10.27 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.878, allocations: 14.39 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.8781, allocations: 51.03 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.8781, allocations: 4.547 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8782, allocations: 0.7031 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8782, allocations: 1.469 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.8782, allocations: 13.03 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.8787, allocations: 361.5 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.8788, allocations: 36.83 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.8788, allocations: 16.52 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-06/0.8788, allocations: 0.875 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.879, allocations: 97.97 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.879, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002964/0.8793, allocations: 120 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.8793, allocations: 54.11 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.8794, allocations: 126.2 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.8795, allocations: 30.41 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.8795, allocations: 91.2 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.8795, allocations: 24.03 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.8796, allocations: 50.56 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.8797, allocations: 327.4 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.8798, allocations: 66.16 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.88, allocations: 117.9 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.8802, allocations: 179.9 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8802, allocations: 0 / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004444/0.8807, allocations: 293.7 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.8807, allocations: 71.56 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8807, allocations: 5.938 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8807, allocations: 2.688 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.8808, allocations: 9.391 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8808, allocations: 3.422 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.8812, allocations: 51.84 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.8812, allocations: 20.95 kB / 1.094 GB, free: 1.516 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 8.855e-05/0.8813, allocations: 132.4 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.8813, allocations: 7.766 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.8813, allocations: 10.5 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8814, allocations: 2.328 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8814, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8814, allocations: 1.641 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.8816, allocations: 359.6 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8817, allocations: 0 / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.8817, allocations: 5.609 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8817, allocations: 0.7812 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8817, allocations: 3.016 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.8817, allocations: 0.875 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8817, allocations: 4.812 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.8819, allocations: 193.9 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.8819, allocations: 83.31 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.8819, allocations: 2.328 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.882, allocations: 9.375 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.882, allocations: 13.88 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.8821, allocations: 4.547 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.8821, allocations: 95.06 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8821, allocations: 192 / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002919/0.8824, allocations: 38.09 kB / 1.095 GB, free: 0.6797 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.0001441/0.8825, allocations: 106.6 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.8829, allocations: 257.5 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8829, allocations: 3.938 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.909e-05/0.883, allocations: 40.27 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.8833, allocations: 15.41 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.8837, allocations: 200.4 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.8839, allocations: 0.6962 MB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.8839, allocations: 12.31 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of SimCode: time 4.1e-07/0.8839, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.003909/0.8878, allocations: 1.492 MB / 1.098 GB, free: 15.36 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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