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.001266/0.001266, allocations: 100.1 kB / 15.88 MB, free: 12 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.00137/0.00137, allocations: 196 kB / 16.79 MB, free: 6.809 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.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.691/2.691, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6941, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002447/0.6966, allocations: 0.7418 MB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.6976, allocations: 0.7884 MB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.6977, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.6978, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.6979, allocations: 3.984 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.817e-05/0.698, allocations: 8 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.6981, allocations: 23.92 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.6982, allocations: 8 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.6982, allocations: 11.94 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.6983, allocations: 3.984 kB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.6983, allocations: 4 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.6983, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.6984, allocations: 7.938 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.6984, allocations: 11.92 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.282e-05/0.6985, allocations: 23.89 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6985, allocations: 3.938 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6985, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6985, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.7637 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.0004771/0.699, allocations: 343.2 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.699, allocations: 12.03 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.6991, allocations: 4.844 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.6992, allocations: 160.4 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6992, allocations: 4.375 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.6992, allocations: 384 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6994, allocations: 50.23 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6994, allocations: 4.188 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6995, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6995, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.6996, allocations: 39.95 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.7, allocations: 248.9 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7002, allocations: 46.48 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.7003, allocations: 24.91 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.7003, allocations: 0 / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.7003, allocations: 34.56 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7003, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.7007, allocations: 89.48 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.7007, allocations: 55.41 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.7008, allocations: 101.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7009, allocations: 25.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.7009, allocations: 84.14 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.7009, allocations: 3.906 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.701, allocations: 13.72 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7011, allocations: 319 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.7012, allocations: 19.91 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.7013, allocations: 16.23 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.7014, allocations: 36.83 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7014, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.7016, allocations: 77.59 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7017, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7017, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7017, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.7018, allocations: 11.98 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.7018, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.7019, allocations: 8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.7019, allocations: 0 / 1.021 GB, free: 15.14 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 8.061e-05/0.702, allocations: 121.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.702, allocations: 3.938 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.702, allocations: 7.125 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.702, allocations: 3.984 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.702, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7021, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.7022, allocations: 165.6 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7022, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.7023, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7023, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.7023, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7023, allocations: 7.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7023, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.7026, allocations: 167.4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.7026, allocations: 77.11 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7027, allocations: 8.016 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.7027, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.7028, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7028, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.7028, allocations: 79.28 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7029, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002124/0.7031, allocations: 4 kB / 1.021 GB, free: 14.39 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.0001422/0.7032, allocations: 107.2 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.7034, allocations: 43.89 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7035, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.7035, allocations: 15.98 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.7038, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.7042, allocations: 137.1 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.7044, allocations: 0.677 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.7045, allocations: 11.44 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7045, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.001993/0.7065, allocations: 0.5457 MB / 1.023 GB, free: 12.78 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