Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 105.8 kB / 19.73 MB, free: 2.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002494/0.002494, allocations: 215.5 kB / 23.04 MB, free: 5.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 62.14 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3867, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002473/0.3892, allocations: 0.6828 MB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3905, allocations: 0.8164 MB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3905, allocations: 0 / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.3906, allocations: 3.938 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.3907, allocations: 3.938 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.855e-05/0.3907, allocations: 11.98 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3908, allocations: 19.98 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.391, allocations: 11.98 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.391, allocations: 11.88 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.3911, allocations: 11.92 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3911, allocations: 8 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.3911, allocations: 0 / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.3911, allocations: 8 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3912, allocations: 7.938 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3913, allocations: 28.11 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3913, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3913, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3913, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 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.0005526/0.3918, allocations: 263.9 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3919, allocations: 16.03 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.3919, allocations: 192 / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.392, allocations: 30.75 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.392, allocations: 8.828 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3921, allocations: 114.5 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.3921, allocations: 384 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3921, allocations: 384 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3923, allocations: 57.92 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3924, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3924, allocations: 4 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3924, allocations: 4 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3925, allocations: 31.95 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.393, allocations: 216 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3931, allocations: 42.56 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.3932, allocations: 24.89 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3932, allocations: 7.938 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3932, allocations: 30.56 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3932, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000358/0.3936, allocations: 89.69 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3936, allocations: 51.41 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.3937, allocations: 97.86 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3937, allocations: 25.7 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.3938, allocations: 88.12 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3938, allocations: 11.89 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3938, allocations: 13.72 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.394, allocations: 310.9 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.3941, allocations: 19.98 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.3941, allocations: 27.84 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3943, allocations: 40.77 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3943, allocations: 0 / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.3945, allocations: 69.72 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3945, allocations: 4 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3945, allocations: 0 / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3946, allocations: 4 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.3947, allocations: 8.234 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3947, allocations: 0 / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3947, allocations: 11.98 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3947, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 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.833e-05/0.3948, allocations: 121.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3948, allocations: 7.984 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.3949, allocations: 3.312 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3949, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3949, allocations: 4 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3949, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.395, allocations: 128.7 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.395, allocations: 3.938 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.3951, allocations: 11.98 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3951, allocations: 4 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3951, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3951, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3951, allocations: 0 / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3954, allocations: 167.4 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.3954, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3954, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3955, allocations: 8.016 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3955, allocations: 7.938 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3955, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.3956, allocations: 87.27 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3956, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002103/0.3958, allocations: 4 kB / 1.349 GB, free: 12.22 MB / 1.045 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.0006938/0.3965, allocations: 0.689 MB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3967, allocations: 43.89 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3967, allocations: 0 / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3968, allocations: 28.02 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3972, allocations: 2.031 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.3978, allocations: 143.2 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3983, allocations: 0.6805 MB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.3984, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.3984, allocations: 11.44 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.3984, allocations: 4.062 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.4216, allocations: 1.427 MB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 7.875 kB / 1.352 GB, free: 9.238 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.844522706989665]