Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",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.273/2.273, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001351/0.001351, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.562/1.562, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 95.89 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.295e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.46/4.732, allocations: 1.951 GB / 3.157 GB, free: 399.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/4.732, allocations: 89.62 kB / 3.157 GB, free: 399.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.092/9.824, allocations: 1.453 GB / 4.61 GB, free: 183.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.465e-06/9.824, allocations: 0 / 4.61 GB, free: 183.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001225/9.824, allocations: 38.64 kB / 4.61 GB, free: 183.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005224/9.829, allocations: 1.897 MB / 4.612 GB, free: 183 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/9.829, allocations: 7.406 kB / 4.612 GB, free: 183 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/9.832, allocations: 0.5055 MB / 4.612 GB, free: 182.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/9.835, allocations: 1.231 MB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008568/9.836, allocations: 240 kB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/9.836, allocations: 67.2 kB / 4.614 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/9.838, allocations: 0.7092 MB / 4.615 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/9.839, allocations: 1.05 MB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/9.839, allocations: 6.656 kB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/9.839, allocations: 3.844 kB / 4.616 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/9.839, allocations: 48.53 kB / 4.616 GB, free: 182.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007068/9.847, allocations: 6.383 MB / 4.622 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/9.847, allocations: 464.8 kB / 4.622 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/9.848, allocations: 190.8 kB / 4.622 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/9.848, allocations: 283.4 kB / 4.623 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/9.848, allocations: 44.66 kB / 4.623 GB, free: 177.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/9.848, allocations: 0 / 4.623 GB, free: 177.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001182/9.849, allocations: 486.1 kB / 4.623 GB, free: 177.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/9.849, allocations: 57.06 kB / 4.623 GB, free: 177.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/9.85, allocations: 0.8307 MB / 4.624 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/9.85, allocations: 29.64 kB / 4.624 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/9.851, allocations: 0.6991 MB / 4.625 GB, free: 177.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/9.851, allocations: 113.6 kB / 4.625 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/9.851, allocations: 0 / 4.625 GB, free: 177.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/9.851, allocations: 330.9 kB / 4.625 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/9.851, allocations: 185.7 kB / 4.625 GB, free: 176.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/9.852, allocations: 0.55 MB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/9.852, allocations: 298.1 kB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/9.852, allocations: 7.828 kB / 4.626 GB, free: 176.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001219/9.854, allocations: 0.7415 MB / 4.627 GB, free: 176.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/9.855, allocations: 4.096 MB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/9.855, allocations: 12.84 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/9.855, allocations: 17.62 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/9.855, allocations: 211.2 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/9.856, allocations: 23.81 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/9.857, allocations: 173.4 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/9.857, allocations: 43.27 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/9.857, allocations: 5.844 kB / 4.631 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009958/9.858, allocations: 0.6164 MB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/9.858, allocations: 14.48 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/9.858, allocations: 14.5 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/9.859, allocations: 208.8 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/9.859, allocations: 17.62 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/9.86, allocations: 144.5 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/9.86, allocations: 44.09 kB / 4.632 GB, free: 171.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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 0.0001844/9.86, allocations: 133.4 kB / 4.633 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007066/9.861, allocations: 449.5 kB / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/9.861, allocations: 111.5 kB / 4.633 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/9.862, allocations: 492.9 kB / 4.634 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/9.862, allocations: 3.781 kB / 4.634 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/9.862, allocations: 0 / 4.634 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/9.862, allocations: 6.031 kB / 4.634 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/9.865, allocations: 1.65 MB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/9.865, allocations: 7.672 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/9.865, allocations: 109.6 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/9.865, allocations: 5.031 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/9.865, allocations: 15.3 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/9.865, allocations: 7.094 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/9.865, allocations: 7.906 kB / 4.635 GB, free: 171 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/9.866, allocations: 0.8322 MB / 4.636 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/9.866, allocations: 256 kB / 4.636 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/9.867, allocations: 13.28 kB / 4.636 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/9.868, allocations: 102.1 kB / 4.637 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/9.868, allocations: 36.84 kB / 4.637 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/9.868, allocations: 22.42 kB / 4.637 GB, free: 170.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007692/9.869, allocations: 0.6233 MB / 4.637 GB, free: 170.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.869, allocations: 2.875 kB / 4.637 GB, free: 170.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002799/9.871, allocations: 0.8072 MB / 4.638 GB, free: 170.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.005953/9.877, allocations: 5.77 MB / 4.644 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001425/9.879, allocations: 0.7985 MB / 4.644 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/9.879, allocations: 3.094 kB / 4.644 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/9.879, allocations: 177 kB / 4.645 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/9.881, allocations: 397.8 kB / 4.645 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/9.886, allocations: 1.888 MB / 4.647 GB, free: 165.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/9.887, allocations: 1.213 MB / 4.648 GB, free: 165.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001708/9.888, allocations: 373.3 kB / 4.648 GB, free: 165.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/9.889, allocations: 456.2 kB / 4.649 GB, free: 165.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/9.889, allocations: 0 / 4.649 GB, free: 165.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08926/9.978, allocations: 48.11 MB / 4.696 GB, free: 142.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/9.979, allocations: 155.4 kB / 4.696 GB, free: 142.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.8/13.78, allocations: 4 kB / 4.696 GB, free: 142.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat