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.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001129/0.001129, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.347/2.347, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5094, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001691/0.5111, allocations: 0.7434 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.5118, allocations: 0.7924 MB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.5119, allocations: 3.938 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.5119, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.512, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.588e-05/0.512, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.5121, allocations: 27.92 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.5122, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.5122, allocations: 11.92 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.5123, allocations: 11.98 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.5123, allocations: 8 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.5123, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.5123, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.5123, allocations: 11.94 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.718e-05/0.5124, allocations: 19.95 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5124, allocations: 3.984 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5124, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.5124, allocations: 0 / 1.019 GB, free: 1.051 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.0003602/0.5128, allocations: 341.7 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5128, allocations: 12.03 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.5129, allocations: 38.62 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.5129, allocations: 8.844 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.513, allocations: 164.4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.513, allocations: 384 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.513, allocations: 4.375 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5132, allocations: 46.23 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5132, allocations: 7.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.5132, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.5132, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.5133, allocations: 31.95 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.5136, allocations: 252.9 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.5137, allocations: 38.55 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.5138, allocations: 32.84 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5139, allocations: 3.938 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5139, allocations: 30.56 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.5139, allocations: 3.984 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.5142, allocations: 85.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.5142, allocations: 55.41 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.5143, allocations: 101.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.5143, allocations: 25.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5143, allocations: 88.03 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.5144, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.5144, allocations: 13.72 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.5145, allocations: 310.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.5146, allocations: 23.98 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.5146, allocations: 15.97 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.5148, allocations: 40.83 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5148, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.515, allocations: 77.56 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.515, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.515, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.515, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.5151, allocations: 12.23 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.5151, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.5151, allocations: 8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.5152, allocations: 3.938 kB / 1.02 GB, free: 14.96 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 6.121e-05/0.5152, allocations: 114.3 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.5152, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.5153, allocations: 11.11 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5153, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5153, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5153, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.5154, allocations: 157.6 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5154, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.5155, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.5155, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.5155, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5155, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5155, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5157, allocations: 163.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.5158, allocations: 85.02 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.5158, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.5159, allocations: 12.02 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.5159, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5159, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.5159, allocations: 91.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.516, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001998/0.5162, allocations: 4 kB / 1.021 GB, free: 14.22 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.0004487/0.5166, allocations: 0.7007 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.5168, allocations: 31.97 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5168, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.5169, allocations: 24.06 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5171, allocations: 5.547 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.5175, allocations: 147.1 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5177, allocations: 0.6807 MB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.5177, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.5178, allocations: 7.438 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5178, allocations: 4.062 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.5438, allocations: 1.145 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.544, allocations: 204.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.179, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 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