Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001223/0.001223, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001377/0.001377, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.603/1.603, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.931/2.931, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_11_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.00209/0.00209, allocations: 72.19 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002599/1.121, allocations: 0.6807 MB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001513/1.123, allocations: 0.8151 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/1.123, allocations: 1.062 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/1.123, allocations: 0 / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/1.123, allocations: 9.75 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.509e-05/1.123, allocations: 7.094 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/1.123, allocations: 24.19 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/1.123, allocations: 8.5 kB / 1.281 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/1.124, allocations: 12.83 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/1.124, allocations: 14 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/1.124, allocations: 2.281 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/1.124, allocations: 2.188 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/1.124, allocations: 5.891 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/1.124, allocations: 7.391 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/1.124, allocations: 31.7 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.124, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.124, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.124, allocations: 1.094 kB / 1.281 GB, free: 10.63 MB / 0.9981 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.000548/1.124, allocations: 340.5 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.124, allocations: 10.47 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/1.124, allocations: 1.078 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/1.124, allocations: 35.78 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/1.124, allocations: 6.062 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.125, allocations: 172.2 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/1.125, allocations: 1.125 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.125, allocations: 1.75 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.125, allocations: 52.19 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.125, allocations: 1.188 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/1.125, allocations: 0 / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.125, allocations: 1 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.125, allocations: 36.7 kB / 1.281 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/1.125, allocations: 259.4 kB / 1.281 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.126, allocations: 39.94 kB / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.126, allocations: 21.55 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.126, allocations: 4.969 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.126, allocations: 36.38 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.126, allocations: 0 / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003961/1.126, allocations: 75.36 kB / 1.282 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.126, allocations: 57.02 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.126, allocations: 106.3 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/1.126, allocations: 30.36 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/1.126, allocations: 86.45 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/1.126, allocations: 5.016 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/1.126, allocations: 12.56 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.127, allocations: 316.6 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/1.127, allocations: 14.92 kB / 1.282 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/1.127, allocations: 25.75 kB / 1.282 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/1.127, allocations: 41.84 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.127, allocations: 0 / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/1.127, allocations: 71.73 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.127, allocations: 5.094 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.127, allocations: 0 / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.127, allocations: 5.25 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.127, allocations: 8.609 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.127, allocations: 1.094 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/1.127, allocations: 6.031 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/1.127, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9981 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 0.0001025/1.127, allocations: 117.2 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/1.127, allocations: 1.938 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/1.128, allocations: 4.891 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.128, allocations: 4 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.128, allocations: 1.156 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.128, allocations: 0.75 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/1.128, allocations: 163.6 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.128, allocations: 0.75 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/1.128, allocations: 8.797 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.128, allocations: 5.078 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/1.128, allocations: 4 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.128, allocations: 1.125 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.128, allocations: 0.5625 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/1.128, allocations: 166.2 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/1.128, allocations: 82.7 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.128, allocations: 1.297 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/1.128, allocations: 9.641 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/1.128, allocations: 3.125 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/1.128, allocations: 4.594 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.103e-05/1.128, allocations: 84.88 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0.6562 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002239/1.129, allocations: 3.688 kB / 1.283 GB, free: 8.195 MB / 0.9981 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.0007079/1.129, allocations: 0.7047 MB / 1.284 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002577/1.13, allocations: 39.75 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.13, allocations: 0 / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.13, allocations: 20.61 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/1.13, allocations: 6.969 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/1.13, allocations: 141.1 kB / 1.284 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.131, allocations: 0.6761 MB / 1.285 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.473e-05/1.131, allocations: 1.75 kB / 1.285 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/1.131, allocations: 9.094 kB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.131, allocations: 4.438 kB / 1.285 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/1.15, allocations: 1.349 MB / 1.286 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/9.356, allocations: 18.59 kB / 1.286 GB, free: 6.238 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.081226087990217]