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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001396/0.001396, allocations: 195 kB / 16.26 MB, free: 6.621 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 63.91 kB / 0.8688 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5385, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001645/0.5402, allocations: 0.5858 MB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.5403, allocations: 23.84 kB / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.5404, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.5404, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.5405, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.5405, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.5406, allocations: 7.938 kB / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.5406, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.5407, allocations: 11.98 kB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.5407, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.5407, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-06/0.5407, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.5407, allocations: 7.922 kB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.5408, allocations: 3.938 kB / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.341e-05/0.5408, allocations: 4 kB / 1.018 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5408, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5408, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.5408, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.7637 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.0002497/0.5411, allocations: 323.5 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5411, allocations: 8.031 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.5411, allocations: 34.73 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.918e-05/0.5412, allocations: 8.938 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.37e-05/0.5413, allocations: 160.4 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.5413, allocations: 4.312 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.5413, allocations: 384 / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.5414, allocations: 43.98 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5414, allocations: 7.938 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.5414, allocations: 7.922 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5414, allocations: 0 / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.5414, allocations: 7.938 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.5416, allocations: 154.6 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.283e-05/0.5416, allocations: 33.25 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.5417, allocations: 17.7 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.5417, allocations: 4 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5417, allocations: 38.56 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5417, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001113/0.5418, allocations: 41.58 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.5419, allocations: 85.09 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.5419, allocations: 98.11 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5419, allocations: 25.7 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.542, allocations: 80.14 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.542, allocations: 10.14 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.542, allocations: 13.72 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.5421, allocations: 314.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.5422, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.5422, allocations: 21.83 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.5422, allocations: 21.66 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5422, allocations: 0 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.142e-05/0.5423, allocations: 37.7 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5423, allocations: 7.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.5423, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5423, allocations: 4.109 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.5424, allocations: 8 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5424, allocations: 7.922 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.5424, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5424, allocations: 3.938 kB / 1.019 GB, free: 196 kB / 0.7637 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 5.671e-05/0.5425, allocations: 110.4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.5425, allocations: 7.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.5426, allocations: 56.73 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5426, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5426, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5426, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.5427, allocations: 149.7 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5427, allocations: 3.938 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.5427, allocations: 4 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5428, allocations: 3.938 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.5428, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.5428, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5428, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.484e-05/0.5429, allocations: 77.98 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.5429, allocations: 81.02 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5429, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.5429, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.543, allocations: 3.984 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.543, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.543, allocations: 83.31 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.543, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001693/0.5432, allocations: 0 / 1.02 GB, free: 15.5 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.0003/0.5435, allocations: 0.6055 MB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.5436, allocations: 15.94 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5436, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/0.5436, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.5437, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.544, allocations: 127.5 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5442, allocations: 0.677 MB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.5442, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.5442, allocations: 7.438 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5442, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.347/1.892, allocations: 0.8186 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/1.892, allocations: 196.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/4.287, allocations: 3.938 kB / 1.022 GB, free: 12.98 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