Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.213/2.213, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00125/0.001251, allocations: 172 kB / 0.4901 GB, free: 2.223 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.435/1.435, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009428/0.0009429, allocations: 104 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 9.766 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.196/4.474, allocations: 1.952 GB / 3.182 GB, free: 6.996 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/4.475, allocations: 96.39 kB / 3.182 GB, free: 6.902 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.512/10.99, allocations: 1.47 GB / 4.652 GB, free: 200.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.983e-06/10.99, allocations: 0 / 4.652 GB, free: 200.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001356/10.99, allocations: 37.66 kB / 4.652 GB, free: 200.1 MB / 1.182 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.006403/10.99, allocations: 2.138 MB / 4.654 GB, free: 199.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/10.99, allocations: 10.78 kB / 4.654 GB, free: 199.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003621/10.99, allocations: 156.9 kB / 4.654 GB, free: 199.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/11, allocations: 0.5097 MB / 4.654 GB, free: 199.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/11, allocations: 1.237 MB / 4.656 GB, free: 198.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009033/11, allocations: 277.8 kB / 4.656 GB, free: 198.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/11, allocations: 104.6 kB / 4.656 GB, free: 198.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/11, allocations: 1.323 MB / 4.657 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/11, allocations: 4.938 kB / 4.657 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/11, allocations: 44.06 kB / 4.657 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-05/11, allocations: 46.66 kB / 4.657 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/11.01, allocations: 1.076 MB / 4.658 GB, free: 198.5 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008253/11.01, allocations: 6.662 MB / 4.665 GB, free: 194.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/11.02, allocations: 0.6274 MB / 4.666 GB, free: 194.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/11.02, allocations: 289.2 kB / 4.666 GB, free: 194.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/11.02, allocations: 34.09 kB / 4.666 GB, free: 194 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/11.02, allocations: 2.875 kB / 4.666 GB, free: 194 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.002597/11.02, allocations: 0.8927 MB / 4.667 GB, free: 193.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/11.02, allocations: 58.97 kB / 4.667 GB, free: 193.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/11.02, allocations: 1.186 MB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/11.02, allocations: 34.86 kB / 4.668 GB, free: 193.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.000601/11.02, allocations: 0.6803 MB / 4.669 GB, free: 193.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/11.02, allocations: 114 kB / 4.669 GB, free: 193.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/11.02, allocations: 13.28 kB / 4.669 GB, free: 193.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001047/11.02, allocations: 338.1 kB / 4.669 GB, free: 193.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/11.02, allocations: 327.5 kB / 4.669 GB, free: 193.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/11.02, allocations: 0.6638 MB / 4.67 GB, free: 192.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/11.02, allocations: 405.1 kB / 4.67 GB, free: 192.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/11.02, allocations: 3.5 kB / 4.67 GB, free: 192.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002496/11.03, allocations: 1.047 MB / 4.671 GB, free: 192.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/11.03, allocations: 3.817 MB / 4.675 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/11.03, allocations: 10.25 kB / 4.675 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.924e-05/11.03, allocations: 12.34 kB / 4.675 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/11.03, allocations: 206.8 kB / 4.675 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/11.03, allocations: 24.16 kB / 4.675 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/11.03, allocations: 241.2 kB / 4.676 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/11.03, allocations: 39.2 kB / 4.676 GB, free: 188.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/11.03, allocations: 5.938 kB / 4.676 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/11.03, allocations: 0.901 MB / 4.677 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/11.03, allocations: 11.12 kB / 4.677 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/11.03, allocations: 15.06 kB / 4.677 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/11.03, allocations: 206.3 kB / 4.677 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/11.03, allocations: 16.69 kB / 4.677 GB, free: 188.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/11.04, allocations: 206.8 kB / 4.677 GB, free: 188.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/11.04, allocations: 42.62 kB / 4.677 GB, free: 188.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (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.001083/11.04, allocations: 419.9 kB / 4.677 GB, free: 188.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/11.04, allocations: 143.2 kB / 4.678 GB, free: 188.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/11.04, allocations: 0.6825 MB / 4.678 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/11.04, allocations: 0 / 4.678 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/11.04, allocations: 8.641 kB / 4.678 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/11.04, allocations: 6.656 kB / 4.678 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/11.04, allocations: 1.922 MB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/11.04, allocations: 9.688 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/11.04, allocations: 104.3 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/11.04, allocations: 10.52 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/11.04, allocations: 13.48 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/11.04, allocations: 12.06 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/11.04, allocations: 8.906 kB / 4.68 GB, free: 187.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/11.05, allocations: 1.057 MB / 4.681 GB, free: 187.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/11.05, allocations: 287.9 kB / 4.682 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/11.05, allocations: 14.33 kB / 4.682 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/11.05, allocations: 109 kB / 4.682 GB, free: 187.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/11.05, allocations: 39.78 kB / 4.682 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/11.05, allocations: 18.38 kB / 4.682 GB, free: 187 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001466/11.05, allocations: 0.9313 MB / 4.683 GB, free: 186.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/11.05, allocations: 0 / 4.683 GB, free: 186.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003566/11.05, allocations: 0.8713 MB / 4.684 GB, free: 186.9 MB / 1.182 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 () * Number of clocked 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.008731/11.06, allocations: 5.632 MB / 4.689 GB, free: 183.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003158/11.07, allocations: 1.154 MB / 4.69 GB, free: 183.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/11.07, allocations: 3.875 kB / 4.69 GB, free: 183.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0006601/11.07, allocations: 275.3 kB / 4.69 GB, free: 183.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/11.07, allocations: 0.6243 MB / 4.691 GB, free: 183.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/11.08, allocations: 10.06 MB / 4.701 GB, free: 175.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/11.08, allocations: 1.209 MB / 4.702 GB, free: 174.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001801/11.08, allocations: 350.4 kB / 4.702 GB, free: 174.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/11.08, allocations: 481.9 kB / 4.703 GB, free: 174.4 MB / 1.182 GB Notification: Performance of SimCode: time 2.424e-06/11.08, allocations: 0 / 4.703 GB, free: 174.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/11.22, allocations: 75.71 MB / 4.777 GB, free: 164.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/11.22, allocations: 222 kB / 4.777 GB, free: 164.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.969/16.19, allocations: 0 / 4.777 GB, free: 164.1 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat