Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001668/0.001668, allocations: 121.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.002078/0.002078, allocations: 211.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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.894/2.894, allocations: 476.7 MB / 0.7679 GB, free: 9.336 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.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",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.002052/0.002052, allocations: 67.91 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002167/1.045, allocations: 0.7089 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001205/1.046, allocations: 0.8379 MB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/1.046, allocations: 0.9375 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/1.046, allocations: 3.938 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/1.046, allocations: 5.672 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.567e-05/1.046, allocations: 14.2 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/1.046, allocations: 44.08 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/1.046, allocations: 12.48 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/1.046, allocations: 21.8 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/1.046, allocations: 23.16 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/1.046, allocations: 7.125 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/1.046, allocations: 7.938 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/1.046, allocations: 7.125 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/1.046, allocations: 17.8 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/1.047, allocations: 38.28 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.047, allocations: 4.797 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.047, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.047, allocations: 1.219 kB / 1.281 GB, free: 10.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006066/1.047, allocations: 371.1 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.047, allocations: 9.641 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/1.047, allocations: 1.062 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/1.047, allocations: 32.7 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/1.047, allocations: 3.188 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.047, allocations: 176.2 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.047, allocations: 5.438 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.047, allocations: 2.531 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/1.048, allocations: 76.86 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.048, allocations: 0 / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.048, allocations: 0 / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.048, allocations: 1.094 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/1.048, allocations: 62.88 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/1.049, allocations: 270.6 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/1.049, allocations: 54.8 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/1.049, allocations: 36.19 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/1.049, allocations: 0 / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.049, allocations: 36.53 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/1.049, allocations: 3.984 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005984/1.05, allocations: 132.5 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/1.05, allocations: 56.09 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.05, allocations: 115.1 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.05, allocations: 30.77 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/1.05, allocations: 90.55 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/1.05, allocations: 6.828 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/1.05, allocations: 12.41 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.05, allocations: 322.3 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.05, allocations: 30.33 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.05, allocations: 35.78 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/1.051, allocations: 66.52 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.051, allocations: 0 / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004092/1.051, allocations: 109.2 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.051, allocations: 6.281 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.051, allocations: 0 / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.051, allocations: 0.5312 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/1.051, allocations: 19.69 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.051, allocations: 0.5 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/1.051, allocations: 12.41 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/1.051, allocations: 1.156 kB / 1.283 GB, free: 8.711 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 (3): * Single equations (assignments): 3 * 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.000104/1.051, allocations: 122.5 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/1.051, allocations: 1.594 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/1.052, allocations: 10.75 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.052, allocations: 0.5 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.052, allocations: 0.5938 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.052, allocations: 1.141 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/1.052, allocations: 170.5 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.052, allocations: 0 / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/1.052, allocations: 20 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.052, allocations: 0.5 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/1.052, allocations: 4.5 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.052, allocations: 1.359 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.052, allocations: 0.5312 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/1.052, allocations: 197.2 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/1.052, allocations: 82.89 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/1.053, allocations: 1.828 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.053, allocations: 16.45 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/1.053, allocations: 2.703 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.053, allocations: 1.906 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.505e-05/1.053, allocations: 91.91 kB / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002219/1.053, allocations: 5.688 kB / 1.283 GB, free: 8.031 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 (3): * Single equations (assignments): 3 * 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.0008173/1.054, allocations: 0.7325 MB / 1.284 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000383/1.054, allocations: 74.84 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.054, allocations: 0 / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/1.054, allocations: 34.06 kB / 1.284 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/1.055, allocations: 10.55 kB / 1.284 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/1.055, allocations: 161.7 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/1.056, allocations: 0.6802 MB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.205e-05/1.056, allocations: 2.422 kB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/1.056, allocations: 17.56 kB / 1.285 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.056, allocations: 0 / 1.285 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/1.074, allocations: 1.691 MB / 1.287 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.289, allocations: 9.641 kB / 1.287 GB, free: 6.027 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 15.877146976999938]