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.262/2.262, allocations: 390.5 MB / 398 MB, free: 10.97 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.00101/0.00101, allocations: 175.9 kB / 491.2 MB, free: 1.566 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.476/1.476, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001036/0.001036, allocations: 95.83 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.165e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.539, allocations: 1.952 GB / 3.164 GB, free: 317.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/5.539, allocations: 86.95 kB / 3.164 GB, free: 317.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.47/11.01, allocations: 1.453 GB / 4.617 GB, free: 163.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.883e-06/11.01, allocations: 0 / 4.617 GB, free: 163.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001217/11.01, allocations: 32.89 kB / 4.617 GB, free: 163.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.005147/11.01, allocations: 1.897 MB / 4.619 GB, free: 162.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/11.01, allocations: 8.031 kB / 4.619 GB, free: 162.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/11.02, allocations: 0.5145 MB / 4.62 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/11.02, allocations: 1.222 MB / 4.621 GB, free: 160.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008913/11.02, allocations: 239.4 kB / 4.621 GB, free: 160.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/11.02, allocations: 63.84 kB / 4.621 GB, free: 160.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001314/11.02, allocations: 0.7093 MB / 4.622 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/11.02, allocations: 1.057 MB / 4.623 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/11.02, allocations: 7.25 kB / 4.623 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/11.02, allocations: 4 kB / 4.623 GB, free: 158.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/11.02, allocations: 41.95 kB / 4.623 GB, free: 158.4 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.007279/11.03, allocations: 6.395 MB / 4.629 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/11.03, allocations: 464.5 kB / 4.629 GB, free: 151.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/11.03, allocations: 180.8 kB / 4.63 GB, free: 151 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/11.03, allocations: 291.3 kB / 4.63 GB, free: 150.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/11.03, allocations: 38.84 kB / 4.63 GB, free: 150.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 5.36e-06/11.03, allocations: 3.406 kB / 4.63 GB, free: 150.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001353/11.04, allocations: 482.5 kB / 4.63 GB, free: 150.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/11.04, allocations: 55.41 kB / 4.63 GB, free: 150.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/11.04, allocations: 0.8346 MB / 4.631 GB, free: 149.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/11.04, allocations: 29.7 kB / 4.631 GB, free: 149.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/11.04, allocations: 0.6969 MB / 4.632 GB, free: 148.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/11.04, allocations: 112.9 kB / 4.632 GB, free: 148.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/11.04, allocations: 0 / 4.632 GB, free: 148.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001176/11.04, allocations: 334 kB / 4.632 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/11.04, allocations: 193.4 kB / 4.633 GB, free: 147.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/11.04, allocations: 0.543 MB / 4.633 GB, free: 147.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/11.04, allocations: 300.9 kB / 4.633 GB, free: 146.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/11.04, allocations: 0 / 4.633 GB, free: 146.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001262/11.04, allocations: 0.747 MB / 4.634 GB, free: 146.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001982/11.04, allocations: 4.097 MB / 4.638 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/11.04, allocations: 12 kB / 4.638 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.576e-05/11.04, allocations: 16 kB / 4.638 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/11.04, allocations: 213 kB / 4.638 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/11.04, allocations: 26.92 kB / 4.638 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/11.04, allocations: 172.4 kB / 4.639 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/11.04, allocations: 47.83 kB / 4.639 GB, free: 141.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/11.04, allocations: 5.562 kB / 4.639 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/11.05, allocations: 0.5998 MB / 4.639 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/11.05, allocations: 15.98 kB / 4.639 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/11.05, allocations: 16 kB / 4.639 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/11.05, allocations: 213.8 kB / 4.639 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/11.05, allocations: 23.92 kB / 4.639 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/11.05, allocations: 146.2 kB / 4.64 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/11.05, allocations: 39.98 kB / 4.64 GB, free: 140.3 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.0001993/11.05, allocations: 136.6 kB / 4.64 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007287/11.05, allocations: 448 kB / 4.64 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/11.05, allocations: 110.7 kB / 4.64 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/11.05, allocations: 488.6 kB / 4.641 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/11.05, allocations: 7.281 kB / 4.641 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/11.05, allocations: 0 / 4.641 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/11.05, allocations: 0 / 4.641 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/11.05, allocations: 1.664 MB / 4.642 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/11.05, allocations: 4 kB / 4.642 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/11.05, allocations: 106.5 kB / 4.642 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/11.05, allocations: 8 kB / 4.643 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/11.05, allocations: 7.984 kB / 4.643 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/11.05, allocations: 4 kB / 4.643 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/11.05, allocations: 11.94 kB / 4.643 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/11.05, allocations: 0.8344 MB / 4.643 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/11.05, allocations: 262.8 kB / 4.644 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/11.05, allocations: 4 kB / 4.644 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/11.06, allocations: 109.5 kB / 4.644 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/11.06, allocations: 31.91 kB / 4.644 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/11.06, allocations: 19.98 kB / 4.644 GB, free: 135.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007737/11.06, allocations: 0.6234 MB / 4.644 GB, free: 135.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/11.06, allocations: 0 / 4.644 GB, free: 135.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002916/11.06, allocations: 0.8068 MB / 4.645 GB, free: 134.4 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.006044/11.07, allocations: 5.777 MB / 4.651 GB, free: 128.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001553/11.07, allocations: 0.8038 MB / 4.652 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/11.07, allocations: 0 / 4.652 GB, free: 127.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/11.07, allocations: 175.7 kB / 4.652 GB, free: 127.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/11.07, allocations: 397.9 kB / 4.652 GB, free: 127.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/11.07, allocations: 1.881 MB / 4.654 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/11.07, allocations: 1.212 MB / 4.655 GB, free: 124.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001643/11.08, allocations: 379.6 kB / 4.656 GB, free: 123.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/11.08, allocations: 455.3 kB / 4.656 GB, free: 123.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/11.08, allocations: 0 / 4.656 GB, free: 123.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08355/11.16, allocations: 48.12 MB / 4.703 GB, free: 75.83 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/11.16, allocations: 161.4 kB / 4.703 GB, free: 75.64 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/15.21, allocations: 0 / 4.703 GB, free: 75.64 MB / 1.167 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