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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001149/0.001149, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003911, allocations: 15.94 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8291, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.249/1.078, allocations: 216.7 MB / 1.165 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02146/1.1, allocations: 14.74 MB / 1.18 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/1.102, allocations: 55.62 kB / 1.18 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/1.105, allocations: 0.6559 MB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007091/1.112, allocations: 2.138 MB / 1.183 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/1.116, allocations: 1.253 MB / 1.184 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005941/1.122, allocations: 3.963 MB / 1.188 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.124, allocations: 0.9296 MB / 1.189 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/1.129, allocations: 1.914 MB / 1.19 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.131, allocations: 0.9996 MB / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/1.131, allocations: 48 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/1.136, allocations: 1.914 MB / 1.193 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006433/1.137, allocations: 394.5 kB / 1.194 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007167/1.137, allocations: 328.9 kB / 1.194 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/1.141, allocations: 2.023 MB / 1.196 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.141, allocations: 3.938 kB / 1.196 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.267e-06/1.141, allocations: 0 / 1.196 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.415e-05/1.141, allocations: 0 / 1.196 GB, free: 7.441 MB / 0.9512 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.003413/1.144, allocations: 1.733 MB / 1.198 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.144, allocations: 8.031 kB / 1.198 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/1.145, allocations: 156.2 kB / 1.198 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/1.147, allocations: 0.5327 MB / 1.198 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/1.149, allocations: 1.076 MB / 1.199 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/1.15, allocations: 277.8 kB / 1.2 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.15, allocations: 96 kB / 1.2 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/1.153, allocations: 1.338 MB / 1.201 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.153, allocations: 0 / 1.201 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.153, allocations: 40 kB / 1.201 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/1.153, allocations: 45.98 kB / 1.201 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/1.155, allocations: 1.112 MB / 1.202 GB, free: 0.832 MB / 0.9512 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.007727/1.163, allocations: 6.65 MB / 1.209 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.164, allocations: 0.605 MB / 1.209 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/1.165, allocations: 289.2 kB / 1.21 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/1.165, allocations: 279.6 kB / 1.21 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.166, allocations: 38.84 kB / 1.21 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.165e-06/1.166, allocations: 0 / 1.21 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002269/1.168, allocations: 0.9031 MB / 1.211 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/1.168, allocations: 59.41 kB / 1.211 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.17, allocations: 1.347 MB / 1.212 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/1.17, allocations: 37.7 kB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/1.17, allocations: 0.6834 MB / 1.213 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.17, allocations: 126.3 kB / 1.213 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/1.17, allocations: 12 kB / 1.213 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.171, allocations: 330 kB / 1.213 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/1.171, allocations: 325.1 kB / 1.214 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.172, allocations: 0.6418 MB / 1.214 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/1.173, allocations: 392.7 kB / 1.215 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.173, allocations: 4 kB / 1.215 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002204/1.175, allocations: 1.03 MB / 1.216 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/1.176, allocations: 366.5 kB / 1.216 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.176, allocations: 8 kB / 1.216 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.176, allocations: 16 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/1.177, allocations: 211.7 kB / 1.216 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.177, allocations: 15.94 kB / 1.216 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.178, allocations: 226.7 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/1.178, allocations: 43.98 kB / 1.217 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/1.178, allocations: 4 kB / 1.217 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/1.18, allocations: 0.8819 MB / 1.217 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.18, allocations: 8 kB / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.18, allocations: 16 kB / 1.217 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.181, allocations: 212.3 kB / 1.218 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.181, allocations: 19.94 kB / 1.218 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.182, allocations: 198.9 kB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/1.182, allocations: 39.98 kB / 1.218 GB, free: 28 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0005882/1.182, allocations: 412.7 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/1.182, allocations: 138.3 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.184, allocations: 0.6831 MB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.184, allocations: 15.94 kB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.184, allocations: 0 / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.184, allocations: 3.984 kB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/1.187, allocations: 1.942 MB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.188, allocations: 4 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/1.188, allocations: 104 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.188, allocations: 8 kB / 1.221 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/1.188, allocations: 12 kB / 1.221 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/1.188, allocations: 11.92 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.188, allocations: 4 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/1.19, allocations: 0.8371 MB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/1.19, allocations: 287.2 kB / 1.222 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/1.19, allocations: 8 kB / 1.222 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/1.191, allocations: 115.8 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/1.191, allocations: 39.84 kB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/1.191, allocations: 23.98 kB / 1.222 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001324/1.193, allocations: 0.9317 MB / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.193, allocations: 0 / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001592/1.194, allocations: 0.5692 MB / 1.224 GB, free: 9.684 MB / 0.9825 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.002216/1.196, allocations: 1.563 MB / 1.225 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002573/1.199, allocations: 1.131 MB / 1.226 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.199, allocations: 0 / 1.226 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.2, allocations: 278.9 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.203, allocations: 0.6297 MB / 1.227 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.217, allocations: 7.817 MB / 1.235 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/1.218, allocations: 1.181 MB / 1.236 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001554/1.22, allocations: 350.7 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/1.22, allocations: 483.3 kB / 1.237 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/1.22, allocations: 4 kB / 1.237 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5391/1.759, allocations: 33.32 MB / 1.269 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.76, allocations: 228 kB / 1.27 GB, free: 273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/4.253, allocations: 0.9375 kB / 1.27 GB, free: 273 MB / 0.9981 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