Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003017/0.003017, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.698/1.698, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.085/3.085, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.455e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00203/0.002065, allocations: 0.7019 MB / 0.8115 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003372, allocations: 0.8643 MB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.003415, allocations: 0 / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.003444, allocations: 4.625 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.003536, allocations: 0 / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.003701, allocations: 36.73 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.003791, allocations: 39.92 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003894, allocations: 12.64 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.003989, allocations: 23.92 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.004051, allocations: 25.7 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004074, allocations: 4 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.004087, allocations: 7.938 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.004108, allocations: 8 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.004144, allocations: 17.2 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.004261, allocations: 51.78 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004263, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004264, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004268, allocations: 0.875 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006138/0.004882, allocations: 381 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.00492, allocations: 8.031 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.00497, allocations: 8.891 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.00511, allocations: 113.5 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005124, allocations: 384 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.005141, allocations: 9.625 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.005317, allocations: 62.22 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.00533, allocations: 7.922 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.00535, allocations: 1.156 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005355, allocations: 0 / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.005516, allocations: 43.91 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.005977, allocations: 280.7 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.006391, allocations: 71.52 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.006481, allocations: 28.78 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.006502, allocations: 7.875 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.006541, allocations: 43.19 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006542, allocations: 0 / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003542/0.006896, allocations: 81.67 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.006949, allocations: 63.39 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.0071, allocations: 175.4 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.007121, allocations: 29.7 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.007211, allocations: 134.8 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.007234, allocations: 11.95 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.007302, allocations: 27.92 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002686/0.00757, allocations: 496.1 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.00765, allocations: 17.39 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.007716, allocations: 23.92 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.007855, allocations: 44.27 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.007862, allocations: 3.938 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001992/0.008061, allocations: 78.31 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.008078, allocations: 5.906 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008082, allocations: 0 / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008096, allocations: 0 / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008218, allocations: 11.98 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.008224, allocations: 0 / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.008277, allocations: 8.562 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008283, allocations: 0.7188 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001335/0.008417, allocations: 168.5 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.008447, allocations: 9.172 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.008474, allocations: 8 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008476, allocations: 0 / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.008479, allocations: 0.8906 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.008481, allocations: 0.8125 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.008662, allocations: 132.7 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.008665, allocations: 3.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.008747, allocations: 16.92 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.008751, allocations: 3.984 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.008759, allocations: 5.281 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00876, allocations: 0 / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008761, allocations: 0 / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.009055, allocations: 228.7 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.009072, allocations: 11.89 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.009085, allocations: 2.125 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.009169, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.00923, allocations: 11.98 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.009238, allocations: 4 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.009322, allocations: 131.2 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009322, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000208/0.00953, allocations: 8.594 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001341/0.009664, allocations: 106.6 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.009872, allocations: 47.66 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.009878, allocations: 4 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-05/0.009978, allocations: 39.59 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01024, allocations: 15.88 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.01061, allocations: 130.4 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.01069, allocations: 72.72 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.01073, allocations: 5.969 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.01078, allocations: 12.5 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.01078, allocations: 0 / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.004052/0.01484, allocations: 0.9645 MB / 0.8168 GB, free: 11.68 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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: 8.286032764008269]