Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.934/2.934, allocations: 476.7 MB / 0.7611 GB, free: 15.66 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 75.88 kB / 1.104 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003778/1.07, allocations: 1.552 MB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004842/1.071, allocations: 116.3 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/1.071, allocations: 4.562 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/1.071, allocations: 9.25 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/1.071, allocations: 6.797 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/1.071, allocations: 28.05 kB / 1.27 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/1.072, allocations: 55.25 kB / 1.27 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.072, allocations: 24.77 kB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/1.072, allocations: 26.47 kB / 1.271 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/1.072, allocations: 29.62 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/1.072, allocations: 5.125 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/1.072, allocations: 12.7 kB / 1.271 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/1.072, allocations: 20.02 kB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/1.072, allocations: 24.17 kB / 1.271 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/1.072, allocations: 66.64 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.072, allocations: 1.031 kB / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/1.072, allocations: 0 / 1.271 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.169e-05/1.072, allocations: 0 / 1.271 GB, free: 6.434 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005786/1.073, allocations: 379.5 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.073, allocations: 10.41 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/1.073, allocations: 36.86 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/1.073, allocations: 8.5 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/1.073, allocations: 188.7 kB / 1.271 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.073, allocations: 6.031 kB / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.073, allocations: 3.031 kB / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/1.073, allocations: 86.42 kB / 1.271 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.073, allocations: 4.75 kB / 1.271 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.074, allocations: 4 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/1.074, allocations: 1.594 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/1.074, allocations: 79.53 kB / 1.271 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/1.074, allocations: 328.4 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/1.075, allocations: 57.41 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/1.075, allocations: 42.81 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/1.075, allocations: 5.984 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/1.075, allocations: 32.66 kB / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/1.075, allocations: 0 / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/1.075, allocations: 134.7 kB / 1.272 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/1.075, allocations: 52.94 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/1.076, allocations: 115.7 kB / 1.272 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/1.076, allocations: 26.89 kB / 1.272 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/1.076, allocations: 101.4 kB / 1.272 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/1.076, allocations: 13.7 kB / 1.272 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/1.076, allocations: 17.33 kB / 1.272 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/1.076, allocations: 323.4 kB / 1.273 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.076, allocations: 31.58 kB / 1.273 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.076, allocations: 41.45 kB / 1.273 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.076, allocations: 75.03 kB / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.076, allocations: 0 / 1.273 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003416/1.077, allocations: 111.2 kB / 1.273 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.077, allocations: 5.469 kB / 1.273 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.077, allocations: 0.6094 kB / 1.273 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.077, allocations: 4.75 kB / 1.273 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.077, allocations: 19.56 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.077, allocations: 4.891 kB / 1.273 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/1.077, allocations: 11.61 kB / 1.273 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/1.077, allocations: 2.109 kB / 1.273 GB, free: 4.551 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 6.969e-05/1.077, allocations: 123.9 kB / 1.273 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/1.077, allocations: 7.562 kB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/1.077, allocations: 113.9 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.077, allocations: 0.9062 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.077, allocations: 0 / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.077, allocations: 1.766 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/1.078, allocations: 177.1 kB / 1.273 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.078, allocations: 1.031 kB / 1.273 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/1.078, allocations: 20.23 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.078, allocations: 0.9688 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/1.078, allocations: 5.062 kB / 1.273 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.078, allocations: 0 / 1.273 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.078, allocations: 0 / 1.273 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/1.078, allocations: 207.4 kB / 1.274 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/1.078, allocations: 86.73 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.078, allocations: 1.594 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.078, allocations: 11.83 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/1.078, allocations: 6.266 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/1.078, allocations: 0.9375 kB / 1.274 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.5e-05/1.078, allocations: 93.19 kB / 1.274 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.078, allocations: 0 / 1.274 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002435/1.079, allocations: 13.69 kB / 1.274 GB, free: 3.816 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.0006237/1.079, allocations: 0.7424 MB / 1.274 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003611/1.08, allocations: 76.72 kB / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.08, allocations: 0 / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/1.08, allocations: 37.56 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.08, allocations: 7.5 kB / 1.275 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/1.082, allocations: 1.437 MB / 1.276 GB, free: 17.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.082, allocations: 0.6931 MB / 1.277 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.709e-05/1.082, allocations: 11.09 kB / 1.277 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/1.082, allocations: 15.53 kB / 1.277 GB, free: 17.16 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.082, allocations: 0 / 1.277 GB, free: 17.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/1.11, allocations: 1.821 MB / 1.278 GB, free: 16.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.222, allocations: 7.938 kB / 1.278 GB, free: 16.74 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Average.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.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.677893835119903]