Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001305/0.001305, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.00148/0.00148, allocations: 221.3 kB / 23 MB, free: 4.914 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.4892 GB / 0.7951 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 69.52 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3359, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002055/0.3379, allocations: 0.6662 MB / 1.327 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.339, allocations: 0.8241 MB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.339, allocations: 0 / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.3391, allocations: 0 / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.3391, allocations: 7.922 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.51e-05/0.3392, allocations: 8 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.3393, allocations: 27.86 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3394, allocations: 7.984 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.3394, allocations: 8 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.3395, allocations: 11.92 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3395, allocations: 4 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.3395, allocations: 0 / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.3395, allocations: 8 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.3395, allocations: 3.938 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.782e-05/0.3396, allocations: 35.81 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3396, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3396, allocations: 0 / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3396, allocations: 4 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004598/0.3401, allocations: 258.3 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3401, allocations: 16.03 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3401, allocations: 0.9375 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3403, allocations: 110.5 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3403, allocations: 384 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3403, allocations: 4.312 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3404, allocations: 50.23 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3405, allocations: 192 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3405, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3405, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3406, allocations: 39.95 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.341, allocations: 192.6 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3411, allocations: 38.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3412, allocations: 28.89 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3412, allocations: 3.938 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3412, allocations: 34.56 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3412, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003411/0.3416, allocations: 81.64 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3416, allocations: 51.41 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.3417, allocations: 101.8 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3417, allocations: 29.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.3417, allocations: 88.08 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3418, allocations: 7.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3418, allocations: 13.72 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.342, allocations: 315 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.3421, allocations: 19.92 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.049e-05/0.3421, allocations: 19.97 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3423, allocations: 44.77 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3423, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.3425, allocations: 73.61 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3425, allocations: 8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3425, allocations: 3.984 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3425, allocations: 3.938 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.3426, allocations: 4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3426, allocations: 7.984 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.3427, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.3427, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.985e-05/0.3428, allocations: 109.9 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3428, allocations: 7.938 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.3428, allocations: 11.3 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3428, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3428, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3428, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.343, allocations: 101.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.343, allocations: 3.984 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.343, allocations: 8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.343, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.343, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.343, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.343, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3433, allocations: 171.4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.3433, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3433, allocations: 4.234 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.3434, allocations: 8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.3434, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3434, allocations: 7.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.3435, allocations: 87.31 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3435, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002138/0.3437, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001113/0.3438, allocations: 95.23 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.344, allocations: 39.95 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.344, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.3441, allocations: 23.98 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3444, allocations: 10.28 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.3447, allocations: 131.3 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.3447, allocations: 67.28 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.3447, allocations: 7.438 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3447, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Templates: time 0.002072/0.3468, allocations: 0.5532 MB / 1.331 GB, free: 12.79 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 10.750795309897512]