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.001707/0.001707, allocations: 109.2 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.001481/0.001481, allocations: 219.6 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.973 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.897/2.897, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_11_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.002172/0.002172, allocations: 65 kB / 1.117 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3719, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002131/0.374, allocations: 0.68 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3752, allocations: 0.8239 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.3753, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.3753, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.3754, allocations: 3.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.82e-05/0.3754, allocations: 7.984 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.3755, allocations: 31.81 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3756, allocations: 3.984 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.3757, allocations: 15.98 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.3757, allocations: 15.92 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3757, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.3757, allocations: 4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.3758, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.3758, allocations: 7.938 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.3759, allocations: 31.41 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3759, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3759, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3759, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 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.0004969/0.3764, allocations: 267 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3764, allocations: 8.031 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3765, allocations: 30.75 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.3765, allocations: 4.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3766, allocations: 110.4 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3766, allocations: 384 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3766, allocations: 4.375 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3768, allocations: 50.23 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3768, allocations: 3.938 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3768, allocations: 4 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3769, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.377, allocations: 39.95 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3774, allocations: 216 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3775, allocations: 46.44 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.3776, allocations: 28.89 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3776, allocations: 3.984 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3777, allocations: 30.56 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3777, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.378, allocations: 85.73 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3781, allocations: 55.34 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3782, allocations: 105.8 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3782, allocations: 25.7 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3783, allocations: 84.12 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3783, allocations: 7.891 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3783, allocations: 17.72 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3785, allocations: 310.8 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.3786, allocations: 20.02 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.3787, allocations: 19.97 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3788, allocations: 36.83 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3788, allocations: 3.938 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.379, allocations: 77.55 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.379, allocations: 8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.379, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.379, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.3791, allocations: 7.984 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3791, allocations: 7.984 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.3792, allocations: 8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3792, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 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.205e-05/0.3793, allocations: 113.8 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3793, allocations: 7.984 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.3793, allocations: 7.312 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3793, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3793, allocations: 256 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3793, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3795, allocations: 132.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3795, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3796, allocations: 11.98 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3796, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3796, allocations: 4 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3796, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3796, allocations: 0 / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3799, allocations: 167.4 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.3799, allocations: 7.953 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3799, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.38, allocations: 12.02 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.38, allocations: 3.938 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.38, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.3801, allocations: 87.27 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002156/0.3803, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 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.000624/0.3809, allocations: 0.6967 MB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3811, allocations: 31.97 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3811, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.3812, allocations: 28.06 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3815, allocations: 6.656 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.382, allocations: 131.3 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3823, allocations: 0.6807 MB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3824, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.3824, allocations: 15.38 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3824, allocations: 8 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4097, allocations: 1.381 MB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.43, allocations: 14.89 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.317281448980793]