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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005762/0.005762, allocations: 101 kB / 15.73 MB, free: 6.051 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.001202/0.001202, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 67.89 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3009, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002205/0.3031, allocations: 0.6673 MB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3044, allocations: 0.7887 MB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.3044, allocations: 4 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.3045, allocations: 0 / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.3046, allocations: 7.875 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.381e-05/0.3047, allocations: 7.984 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.3048, allocations: 27.92 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3049, allocations: 7.984 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.305, allocations: 11.98 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.3051, allocations: 15.88 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3051, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.3051, allocations: 4 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.3052, allocations: 3.984 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.3052, allocations: 11.94 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3053, allocations: 19.91 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3053, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3053, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3053, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 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.0005859/0.3059, allocations: 346.3 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.306, allocations: 8.031 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.3061, allocations: 34.69 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3061, allocations: 8.922 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3063, allocations: 168.3 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3063, allocations: 4.359 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3063, allocations: 384 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3065, allocations: 54.23 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3065, allocations: 3.938 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3065, allocations: 0 / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3066, allocations: 4 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3067, allocations: 31.97 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3072, allocations: 252.9 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3073, allocations: 46.5 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.3074, allocations: 24.91 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3074, allocations: 3.938 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3074, allocations: 34.55 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3074, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003315/0.3078, allocations: 85.59 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3078, allocations: 51.41 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.3079, allocations: 105.8 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.308, allocations: 25.7 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.308, allocations: 80.14 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.308, allocations: 8.75 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3081, allocations: 17.7 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3082, allocations: 315 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.3083, allocations: 15.98 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.3083, allocations: 15.98 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3085, allocations: 40.81 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3085, allocations: 7.938 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.3087, allocations: 65.67 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3087, allocations: 8 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3087, allocations: 3.984 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3087, allocations: 3.938 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.3088, allocations: 4 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3089, allocations: 0 / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.3089, allocations: 11.92 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3089, allocations: 8.031 kB / 1.17 GB, free: 3.664 MB / 0.92 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.116e-05/0.309, allocations: 113.8 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.309, allocations: 3.906 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.3091, allocations: 7.125 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3091, allocations: 0 / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3091, allocations: 0 / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3091, allocations: 3.984 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.3093, allocations: 157.6 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3093, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.3093, allocations: 15.98 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3093, allocations: 0 / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3093, allocations: 0 / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3094, allocations: 0 / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3094, allocations: 8.125 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.3096, allocations: 163.5 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.3096, allocations: 81.14 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3097, allocations: 8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.3097, allocations: 3.984 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.3098, allocations: 4 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.3098, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.3099, allocations: 83.28 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3099, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000212/0.3101, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 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.000548/0.3106, allocations: 0.7084 MB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.3108, allocations: 31.97 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3108, allocations: 4.094 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.723e-05/0.3109, allocations: 19.98 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3113, allocations: 7.984 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3117, allocations: 139.1 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.312, allocations: 0.6807 MB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.312, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.3121, allocations: 11.5 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.3121, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.3314, allocations: 1.288 MB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.686, allocations: 9.422 kB / 1.173 GB, free: 32 kB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > 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