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: "" <> 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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001139/0.001139, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.224/2.224, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4566, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001672/0.4583, allocations: 0.7318 MB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.459, allocations: 0.7807 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.459, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.4591, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.4592, allocations: 3.984 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.884e-05/0.4592, allocations: 8 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.4593, allocations: 23.92 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.4593, allocations: 11.94 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.4594, allocations: 11.98 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.4594, allocations: 7.922 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.4594, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.4595, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.4595, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.4595, allocations: 11.92 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.313e-05/0.4596, allocations: 19.91 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4596, allocations: 3.938 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4596, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.4596, allocations: 0 / 1.018 GB, free: 1.121 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.0003483/0.4599, allocations: 339.6 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.46, allocations: 12.03 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.639e-05/0.46, allocations: 38.69 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.46, allocations: 4.844 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.4601, allocations: 168.4 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.4601, allocations: 4.375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.4602, allocations: 384 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4603, allocations: 54.23 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4603, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4603, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.4603, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.4605, allocations: 31.97 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.4607, allocations: 256.8 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4609, allocations: 42.5 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.461, allocations: 24.91 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.461, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.461, allocations: 30.56 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.461, allocations: 4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000302/0.4613, allocations: 89.48 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.4613, allocations: 51.41 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.4614, allocations: 105.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4614, allocations: 25.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.4615, allocations: 80.14 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.4615, allocations: 16.02 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4615, allocations: 13.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.4616, allocations: 314.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.4617, allocations: 15.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.4618, allocations: 15.98 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.4619, allocations: 48.81 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4619, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.4621, allocations: 65.61 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4621, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4621, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.4621, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.4622, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4622, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.4623, allocations: 12.02 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.4623, allocations: 0 / 1.02 GB, free: 15.04 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.014e-05/0.4623, allocations: 118.3 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.4624, allocations: 3.938 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.4624, allocations: 3.125 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4624, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4624, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.4624, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.4625, allocations: 169.6 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4625, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.4626, allocations: 11.98 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4626, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.4626, allocations: 256 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4626, allocations: 4 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4626, allocations: 3.938 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4628, allocations: 171.4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.4629, allocations: 77.11 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.4629, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.463, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.463, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.463, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.463, allocations: 83.28 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.463, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001971/0.4632, allocations: 8.031 kB / 1.021 GB, free: 14.29 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.0004197/0.4637, allocations: 0.7006 MB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4638, allocations: 36 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4639, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.4639, allocations: 19.98 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4642, allocations: 14.42 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.4645, allocations: 140.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.4647, allocations: 0.6811 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.4647, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4648, allocations: 15.44 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.4648, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.4841, allocations: 1.093 MB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.4844, allocations: 208.2 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.897, allocations: 0 / 1.024 GB, free: 11.35 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