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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 169 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009149, allocations: 97.98 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.73e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7844/1.012, allocations: 148.4 MB / 1.357 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.012, allocations: 69.16 kB / 1.357 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001493/1.014, allocations: 486.5 kB / 1.358 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.31e-07/1.014, allocations: 0 / 1.358 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.57e-06/1.014, allocations: 0.6562 kB / 1.358 GB, free: 34.75 MB / 0.8386 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.0001937/1.014, allocations: 324.5 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.014, allocations: 11.62 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/1.014, allocations: 35.19 kB / 1.358 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/1.014, allocations: 7.906 kB / 1.358 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/1.014, allocations: 182.1 kB / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/1.014, allocations: 0 / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/1.014, allocations: 4.594 kB / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.469e-05/1.015, allocations: 31.48 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/1.015, allocations: 3.906 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/1.015, allocations: 0 / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/1.015, allocations: 0 / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/1.015, allocations: 1.594 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/1.015, allocations: 163.3 kB / 1.359 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/1.015, allocations: 26.89 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/1.015, allocations: 9.812 kB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.015, allocations: 0 / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/1.015, allocations: 31.12 kB / 1.359 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/1.015, allocations: 0 / 1.359 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.928e-05/1.015, allocations: 36.86 kB / 1.359 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/1.015, allocations: 63.92 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/1.015, allocations: 101 kB / 1.359 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/1.015, allocations: 25.7 kB / 1.359 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/1.015, allocations: 80.7 kB / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/1.015, allocations: 8.297 kB / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/1.015, allocations: 3.25 kB / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/1.015, allocations: 312 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/1.015, allocations: 4.641 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/1.015, allocations: 20.58 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/1.015, allocations: 13.02 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.015, allocations: 0 / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.866e-05/1.015, allocations: 45.08 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.015, allocations: 9.891 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.015, allocations: 0 / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/1.015, allocations: 128 / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/1.015, allocations: 9.062 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.015, allocations: 0 / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/1.016, allocations: 1.031 kB / 1.359 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.016, allocations: 3.938 kB / 1.359 GB, free: 33.17 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/1.016, allocations: 108.9 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/1.016, allocations: 1.172 kB / 1.359 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/1.016, allocations: 52.53 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.016, allocations: 1.422 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.016, allocations: 7.969 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.016, allocations: 0.8906 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.903e-05/1.016, allocations: 159.7 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.016, allocations: 5.703 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/1.016, allocations: 4.359 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.016, allocations: 0.7031 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/1.016, allocations: 0 / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.016, allocations: 0 / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.016, allocations: 0.7969 kB / 1.36 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/1.016, allocations: 82.08 kB / 1.36 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/1.016, allocations: 81.58 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/1.016, allocations: 4.547 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/1.016, allocations: 4.828 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/1.016, allocations: 4.281 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/1.016, allocations: 0 / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.019e-05/1.016, allocations: 91.97 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.016, allocations: 0 / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002004/1.016, allocations: 11.75 kB / 1.36 GB, free: 32.56 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/1.017, allocations: 0.6091 MB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.038e-05/1.017, allocations: 15.77 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.017, allocations: 224 / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/1.017, allocations: 13.16 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.048e-05/1.017, allocations: 3.25 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/1.017, allocations: 109.4 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.017, allocations: 0.6857 MB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.427e-05/1.017, allocations: 0.5156 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/1.017, allocations: 12.31 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.017, allocations: 0 / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/1.028, allocations: 0.972 MB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.028, allocations: 143 kB / 1.362 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.603, allocations: 0 / 1.362 GB, free: 30.76 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat does not exist to compare? outputFormat=mat