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.001269/0.001269, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001535/0.001535, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.98 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.369/3.369, allocations: 0.505 GB / 0.8101 GB, free: 22 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",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.001997/0.001997, allocations: 70.59 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4183, allocations: 180.2 MB / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002345/0.4206, allocations: 0.6749 MB / 1.354 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.4217, allocations: 0.8242 MB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.4218, allocations: 0 / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.4218, allocations: 3.938 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.4219, allocations: 7.938 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.092e-05/0.4219, allocations: 7.984 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.422, allocations: 23.98 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.4221, allocations: 3.938 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.4221, allocations: 11.94 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.4222, allocations: 15.92 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.4222, allocations: 0 / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.651e-06/0.4222, allocations: 4 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.4222, allocations: 4 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.4223, allocations: 11.92 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.958e-05/0.4223, allocations: 32.11 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4223, allocations: 4 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4223, allocations: 0 / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4224, allocations: 0 / 1.354 GB, free: 6.918 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.0004345/0.4228, allocations: 266.3 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4228, allocations: 8.031 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.4229, allocations: 30.75 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.4229, allocations: 8.891 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.423, allocations: 106.5 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.423, allocations: 4.375 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.423, allocations: 4.375 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.4232, allocations: 50.19 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4232, allocations: 3.938 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.4232, allocations: 0 / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.4233, allocations: 3.984 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.4234, allocations: 31.97 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4238, allocations: 224 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4239, allocations: 46.47 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.424, allocations: 24.91 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.424, allocations: 0 / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.4241, allocations: 38.56 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4241, allocations: 0 / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003386/0.4244, allocations: 85.59 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4245, allocations: 51.41 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4246, allocations: 101.8 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4246, allocations: 29.7 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.4246, allocations: 84.27 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.4247, allocations: 7.891 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.4247, allocations: 21.66 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4249, allocations: 314.8 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.4249, allocations: 15.98 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.425, allocations: 15.98 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4251, allocations: 40.89 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4252, allocations: 3.938 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.4253, allocations: 61.66 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4254, allocations: 11.94 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4254, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4254, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.4255, allocations: 11.98 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4255, allocations: 7.969 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.4255, allocations: 11.98 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.4255, allocations: 0 / 1.356 GB, free: 5.027 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 8.377e-05/0.4256, allocations: 113.7 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.4256, allocations: 4 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.4256, allocations: 3.312 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4257, allocations: 3.984 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4257, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4257, allocations: 4 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4259, allocations: 136.7 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4259, allocations: 4 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.4259, allocations: 4 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4259, allocations: 0 / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.426, allocations: 0 / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.426, allocations: 3.984 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.426, allocations: 0 / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4262, allocations: 171.4 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.4262, allocations: 7.984 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.4262, allocations: 0 / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.4263, allocations: 8.188 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.4263, allocations: 3.984 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.4264, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.4264, allocations: 83.28 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4264, allocations: 4.031 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002099/0.4266, allocations: 4 kB / 1.357 GB, free: 4.41 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.0005901/0.4272, allocations: 0.689 MB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.4274, allocations: 43.92 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4274, allocations: 0 / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.4275, allocations: 19.98 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4278, allocations: 5.562 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.4283, allocations: 131.2 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4286, allocations: 0.6808 MB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.4287, allocations: 7.938 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.4287, allocations: 11.44 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/0.4287, allocations: 0 / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.4568, allocations: 1.405 MB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.62, allocations: 9.891 kB / 1.36 GB, free: 1.449 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.64349823212251]