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.007646/0.007646, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001896/0.001896, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.267/2.267, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 62.69 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2687, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001921/0.2706, allocations: 0.5384 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.2708, allocations: 47.81 kB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.2709, allocations: 0 / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.2709, allocations: 0 / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2711, allocations: 7.922 kB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.934e-05/0.2712, allocations: 8 kB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.2712, allocations: 8 kB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.2713, allocations: 3.984 kB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.2713, allocations: 4 kB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.2714, allocations: 11.88 kB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2714, allocations: 0 / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2715, allocations: 4 kB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.2715, allocations: 7.969 kB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2715, allocations: 11.94 kB / 1.088 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.779e-05/0.2716, allocations: 11.92 kB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2716, allocations: 0 / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2716, allocations: 4 kB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2716, allocations: 0 / 1.088 GB, free: 1.359 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.0005345/0.2722, allocations: 334.3 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.2722, allocations: 8.031 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.2723, allocations: 30.75 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.2723, allocations: 0.9375 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2726, allocations: 172.4 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2726, allocations: 384 / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.2726, allocations: 4.281 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.2727, allocations: 42.23 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2727, allocations: 3.938 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2728, allocations: 7.875 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2728, allocations: 0 / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.2728, allocations: 8 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.273, allocations: 149.7 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.332e-05/0.2731, allocations: 22.92 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.2731, allocations: 12.84 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2731, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2731, allocations: 34.62 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2732, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.2733, allocations: 45.56 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.2734, allocations: 51.41 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2735, allocations: 113.8 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2735, allocations: 25.83 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2736, allocations: 88.14 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2736, allocations: 7.969 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.2737, allocations: 13.72 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2738, allocations: 318.8 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.2738, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.2739, allocations: 17.7 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.094e-05/0.2739, allocations: 29.72 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2739, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.631e-05/0.274, allocations: 49.53 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2741, allocations: 15.88 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2741, allocations: 3.984 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2741, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.2742, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2742, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.2742, allocations: 4.062 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2743, allocations: 8.25 kB / 1.09 GB, free: 15.52 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 8.539e-05/0.2743, allocations: 105.8 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.2744, allocations: 7.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2745, allocations: 49.2 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2745, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.2745, allocations: 11.94 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2745, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2747, allocations: 157.7 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2747, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.2748, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2748, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2748, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2748, allocations: 3.984 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2748, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2749, allocations: 80.97 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.275, allocations: 85.75 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.275, allocations: 3.938 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.2751, allocations: 4.031 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.2751, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2751, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.2752, allocations: 91.27 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2752, allocations: 3.938 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001955/0.2754, allocations: 4 kB / 1.09 GB, free: 14.81 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.0004552/0.2758, allocations: 0.6125 MB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.276, allocations: 11.94 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.276, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.276, allocations: 11.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2762, allocations: 1.406 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2772, 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.0002284/0.2774, allocations: 0.6806 MB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.2775, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2775, allocations: 11.44 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.2775, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2998, allocations: 1.198 MB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.008, allocations: 11.94 kB / 1.094 GB, free: 11.05 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) "" Variables in the reference:time,c Variables in the result:a[1],a[2],a[3],b,c,der(c),efficient,time