Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005248/0.005248, allocations: 99.28 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 199.2 kB / 16.68 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.2 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2489, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001467/0.2505, allocations: 0.5204 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.2506, allocations: 43.81 kB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.2507, allocations: 0 / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.2507, allocations: 4 kB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2509, allocations: 7.984 kB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.447e-05/0.251, allocations: 7.938 kB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.251, allocations: 7.984 kB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2511, allocations: 4 kB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.2511, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.2512, allocations: 19.92 kB / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2512, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-06/0.2512, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.2513, allocations: 7.922 kB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2513, allocations: 11.94 kB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.512e-05/0.2514, allocations: 11.92 kB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2514, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2514, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2514, allocations: 0 / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003941/0.2518, allocations: 334.3 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2518, allocations: 11.97 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.2519, allocations: 34.73 kB / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.2519, allocations: 4.938 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2521, allocations: 172.4 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.2521, allocations: 384 / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2521, allocations: 8.281 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.2522, allocations: 34.25 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2522, allocations: 3.938 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.2522, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2522, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.2522, allocations: 11.92 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.2524, allocations: 149.7 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.2524, allocations: 26.91 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.2525, allocations: 12.91 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.2525, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2525, allocations: 30.56 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2525, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.2526, allocations: 49.56 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2527, allocations: 63.52 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.2528, allocations: 105.8 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2528, allocations: 25.7 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.2528, allocations: 84.14 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2528, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2529, allocations: 17.72 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.253, allocations: 314.8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.253, allocations: 7.984 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.2531, allocations: 21.72 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.2531, allocations: 25.64 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2531, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.022e-05/0.2532, allocations: 49.59 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2532, allocations: 13.44 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.2532, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.2532, allocations: 128 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.2533, allocations: 11.94 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2533, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.2533, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2534, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.637e-05/0.2534, allocations: 113.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.2534, allocations: 3.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.2535, allocations: 49.22 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2536, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2536, allocations: 4.031 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2536, allocations: 3.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2537, allocations: 157.7 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2537, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.2537, allocations: 12.17 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2537, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.2538, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2538, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2538, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2539, allocations: 81.02 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.254, allocations: 81.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.254, allocations: 7.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.254, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.254, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.254, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.2541, allocations: 91.27 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000183/0.2543, allocations: 4.094 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.000338/0.2546, allocations: 0.6124 MB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.2547, allocations: 19.98 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2547, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.2547, allocations: 12.16 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2549, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.2558, allocations: 1.151 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.256, allocations: 0.6806 MB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.256, allocations: 7.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2561, allocations: 11.44 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2561, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.687/1.943, allocations: 1.183 MB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.74, allocations: 13.94 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches