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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5763 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 1.057 GB, free: 2.078 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 160.7 MB / 1.214 GB, free: 1.047 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001935/0.3077, allocations: 0.6956 MB / 1.215 GB, free: 352 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3094, allocations: 1.199 MB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.3094, allocations: 4 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.3095, allocations: 3.938 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.3095, allocations: 15.86 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.3103, allocations: 227 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.3105, allocations: 175.7 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.3106, allocations: 7.984 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3107, allocations: 67.89 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.3109, allocations: 67.78 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.3109, allocations: 20 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.311, allocations: 27.98 kB / 1.217 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.311, allocations: 15.97 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.3111, allocations: 55.83 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3113, allocations: 155.6 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3113, allocations: 4 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3113, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3113, allocations: 7.875 kB / 1.217 GB, free: 14.3 MB / 0.9669 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.0005921/0.3119, allocations: 442.6 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.312, allocations: 8.031 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.312, allocations: 16.89 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3122, allocations: 172.3 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3122, allocations: 8.375 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3122, allocations: 8.375 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3124, allocations: 53.61 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3124, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3124, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3124, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.3124, allocations: 15.98 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.313, allocations: 368.6 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.3131, allocations: 26.58 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.3131, allocations: 16.94 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-06/0.3131, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3133, allocations: 99.23 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3133, allocations: 4 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002986/0.3136, allocations: 133.5 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3136, allocations: 51.41 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3137, allocations: 117.8 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3138, allocations: 33.7 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.3139, allocations: 92.36 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.3139, allocations: 19.86 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.314, allocations: 49.69 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3141, allocations: 330.8 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3143, allocations: 59.97 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.3144, allocations: 110.3 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3147, allocations: 185.3 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3147, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004902/0.3152, allocations: 288.8 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.3152, allocations: 67.39 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3152, allocations: 4.156 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3153, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.3153, allocations: 11.94 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3153, allocations: 7.984 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.3157, allocations: 51.88 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3157, allocations: 8 kB / 1.219 GB, free: 11.18 MB / 0.9669 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.0001334/0.3158, allocations: 141.7 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.3158, allocations: 7.953 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.3159, allocations: 8.375 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3159, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3159, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3159, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.3162, allocations: 358.5 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3162, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.3163, allocations: 4 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3163, allocations: 4.469 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3163, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3163, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3163, allocations: 3.938 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3165, allocations: 203.3 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.3165, allocations: 81.06 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3166, allocations: 4 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.3166, allocations: 4 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3167, allocations: 15.92 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3167, allocations: 4 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.3167, allocations: 95.31 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3167, allocations: 3.938 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002818/0.317, allocations: 32 kB / 1.22 GB, free: 10.12 MB / 0.9669 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.0001881/0.3172, allocations: 111.1 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.3176, allocations: 235.1 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3176, allocations: 0 / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.3177, allocations: 31.92 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.318, allocations: 16.08 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.3184, allocations: 204 kB / 1.221 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3188, allocations: 0.6885 MB / 1.222 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3188, allocations: 15.44 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3188, allocations: 0 / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of Templates: time 0.00372/0.3225, allocations: 1.506 MB / 1.223 GB, free: 7.238 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.399504963075742]