Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001636/0.001636, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 442.5 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.61 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.00217/0.3028, allocations: 0.6689 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.3038, allocations: 0.7946 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3038, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.3039, allocations: 11.92 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.304, allocations: 3.938 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.404e-05/0.304, allocations: 4 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.3041, allocations: 27.92 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3042, allocations: 4 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.3043, allocations: 15.91 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.3043, allocations: 15.92 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3043, allocations: 4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.3044, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3044, allocations: 4 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.3044, allocations: 11.94 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.3045, allocations: 23.89 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3045, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3045, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3045, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 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.0004516/0.305, allocations: 339.5 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.305, allocations: 8.031 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.305, allocations: 8.844 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3052, allocations: 164.4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3052, allocations: 4.375 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.3052, allocations: 384 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3054, allocations: 50.23 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3054, allocations: 4.125 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3054, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3054, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.3056, allocations: 35.95 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.306, allocations: 245 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3061, allocations: 38.5 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.3062, allocations: 28.89 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3062, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3063, allocations: 38.5 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3063, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003178/0.3066, allocations: 85.55 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.3067, allocations: 55.34 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.3068, allocations: 105.9 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3068, allocations: 29.83 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.3069, allocations: 84.12 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.3069, allocations: 7.891 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3069, allocations: 17.72 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.307, allocations: 310.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.3071, allocations: 19.92 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.3072, allocations: 23.91 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3073, allocations: 40.89 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3073, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.3075, allocations: 69.59 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3076, allocations: 8 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3076, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3076, allocations: 4.031 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.3077, allocations: 7.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3077, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.3077, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3077, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 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 6.859e-05/0.3078, allocations: 113.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3078, allocations: 3.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.3079, allocations: 15.11 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3079, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3079, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3079, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.308, allocations: 157.6 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.308, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3081, allocations: 11.98 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3081, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3081, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3081, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3081, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3084, allocations: 171.4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3085, allocations: 81.09 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3085, allocations: 4 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.3086, allocations: 11.92 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3086, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3086, allocations: 256 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.3087, allocations: 99.23 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.3089, allocations: 7.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 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.0001402/0.3091, allocations: 101.4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3093, allocations: 35.95 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3093, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.3094, allocations: 24.05 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3097, allocations: 7.938 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.31, allocations: 105.5 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3102, allocations: 0.6844 MB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.3103, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3103, allocations: 7.438 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3103, allocations: 4.062 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.002471/0.3128, allocations: 440.5 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches