Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_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_10_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.001004/0.001004, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 179.7 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6772/0.6776, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001052/0.6787, allocations: 402.4 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.6798, allocations: 0.7884 MB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.6798, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.6799, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.6799, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.665e-05/0.68, allocations: 11.98 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.6801, allocations: 19.94 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.6802, allocations: 11.97 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.6803, allocations: 15.88 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.6803, allocations: 7.922 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.6804, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.6804, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.6804, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.6805, allocations: 37.64 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.24e-05/0.6805, allocations: 11.95 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6805, allocations: 4 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6806, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.6806, allocations: 3.938 kB / 1.025 GB, free: 14.54 MB / 0.7794 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.0004882/0.6811, allocations: 345.5 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6811, allocations: 8.031 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.6812, allocations: 4.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.6813, allocations: 164.3 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6813, allocations: 4.375 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.6814, allocations: 4.375 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.6816, allocations: 54.23 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6817, allocations: 8.172 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6817, allocations: 3.938 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6817, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.6819, allocations: 43.95 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.6823, allocations: 256.9 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.6824, allocations: 46.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6825, allocations: 28.89 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.6826, allocations: 8 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6826, allocations: 30.56 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6826, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003826/0.683, allocations: 101.6 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.683, allocations: 55.41 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.6832, allocations: 101.8 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6832, allocations: 25.7 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.6832, allocations: 88.12 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.6833, allocations: 7.891 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.6833, allocations: 9.719 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6834, allocations: 323 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.6835, allocations: 15.98 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.6836, allocations: 27.97 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.6838, allocations: 48.89 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6838, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.684, allocations: 89.44 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6841, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6841, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6841, allocations: 3.938 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6842, allocations: 8 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.6842, allocations: 3.984 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.6843, allocations: 12.02 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6843, allocations: 4 kB / 1.027 GB, free: 12.41 MB / 0.7794 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 9.879e-05/0.6844, allocations: 113.8 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.6845, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.6845, allocations: 11.11 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6845, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6845, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.6845, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.6847, allocations: 157.6 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.6847, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.6848, allocations: 11.98 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6848, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.6848, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6848, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6848, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.6851, allocations: 175.5 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.6852, allocations: 81.27 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.6852, allocations: 4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.6853, allocations: 11.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.6853, allocations: 7.938 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.6853, allocations: 8.031 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.6854, allocations: 83.27 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6854, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.6856, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.7794 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.0001397/0.6857, allocations: 99.23 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.686, allocations: 55.91 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.686, allocations: 0 / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.6861, allocations: 23.97 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.6864, allocations: 7.938 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.6867, allocations: 144.5 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.687, allocations: 0.6731 MB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.6871, allocations: 7.438 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6871, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.002137/0.6892, allocations: 0.5459 MB / 1.029 GB, free: 10.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches