Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",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.001207/0.001207, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007013/0.007013, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 8 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6956, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006444/0.6963, allocations: 260.8 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.6964, allocations: 19.84 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.6965, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.6965, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.6967, allocations: 4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.895e-06/0.6967, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.6967, allocations: 11.92 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.6968, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.6968, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.6969, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.6969, allocations: 3.938 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.6969, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.6969, allocations: 3.984 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.697, allocations: 33.64 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.755e-05/0.697, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.697, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.697, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.697, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002847/0.6973, allocations: 327.5 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6974, allocations: 8.031 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.6974, allocations: 30.75 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.6975, allocations: 4.938 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.6976, allocations: 164.4 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6976, allocations: 384 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.6976, allocations: 4.312 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.6977, allocations: 47.97 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.6977, allocations: 3.938 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6977, allocations: 3.984 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6977, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.6978, allocations: 11.94 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.6979, allocations: 158.5 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.698, allocations: 37.16 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.698, allocations: 13.84 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.698, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.6981, allocations: 34.5 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6981, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.6982, allocations: 49.56 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.6983, allocations: 81.36 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.6983, allocations: 89.86 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6984, allocations: 33.7 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.6984, allocations: 80.14 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.6984, allocations: 6.156 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.6985, allocations: 9.719 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.6986, allocations: 314.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.6986, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.6986, allocations: 17.84 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.6986, allocations: 21.66 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6986, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.614e-05/0.6987, allocations: 41.69 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6987, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.6988, allocations: 128 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6988, allocations: 8 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.6989, allocations: 3.938 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.6989, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.6989, allocations: 3.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.6989, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 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.92e-05/0.699, allocations: 110.4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.699, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.6991, allocations: 52.75 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6991, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6991, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.6991, allocations: 7.984 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.6992, allocations: 145.7 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6992, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.6993, allocations: 4 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6993, allocations: 7.875 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.6993, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6993, allocations: 3.984 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6993, allocations: 4.062 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.622e-05/0.6994, allocations: 65.94 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.6995, allocations: 89 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.6995, allocations: 3.938 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.6995, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.6995, allocations: 4 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.6995, allocations: 8.031 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.6996, allocations: 75.28 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6996, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001829/0.6997, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003265/0.7001, allocations: 0.6133 MB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.7002, allocations: 7.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7002, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.7002, allocations: 7.984 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.7003, allocations: 8 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.7006, allocations: 121.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.7008, allocations: 0.6731 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.7008, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.7009, allocations: 7.438 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7009, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.7248, allocations: 0.7256 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.7252, allocations: 207.5 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.509, allocations: 3.938 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches