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.286/2.286, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001128/0.001128, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.962/1.962, allocations: 221.3 MB / 0.7915 GB, free: 5.484 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.001031/0.00103, allocations: 87.89 kB / 0.9317 GB, free: 5.805 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.926e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3192, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/5.125, allocations: 1.952 GB / 3.171 GB, free: 257 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/5.125, allocations: 92.94 kB / 3.171 GB, free: 257 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.255/10.38, allocations: 1.469 GB / 4.64 GB, free: 112.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.422e-06/10.38, allocations: 0 / 4.64 GB, free: 112.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001136/10.38, allocations: 39.98 kB / 4.64 GB, free: 112.2 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.004459/10.38, allocations: 1.895 MB / 4.642 GB, free: 110.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/10.38, allocations: 8.031 kB / 4.642 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/10.38, allocations: 152.2 kB / 4.642 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/10.39, allocations: 0.5054 MB / 4.642 GB, free: 109.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/10.39, allocations: 1.224 MB / 4.644 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008486/10.39, allocations: 281.8 kB / 4.644 GB, free: 108 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/10.39, allocations: 96 kB / 4.644 GB, free: 108 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/10.39, allocations: 1.212 MB / 4.645 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/10.39, allocations: 0 / 4.645 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/10.39, allocations: 47.98 kB / 4.645 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/10.39, allocations: 38 kB / 4.645 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/10.39, allocations: 0.8354 MB / 4.646 GB, free: 105.7 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.006608/10.4, allocations: 6.64 MB / 4.653 GB, free: 98.64 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/10.4, allocations: 421 kB / 4.653 GB, free: 98.22 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/10.4, allocations: 201.2 kB / 4.653 GB, free: 98.02 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/10.4, allocations: 291.5 kB / 4.653 GB, free: 97.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/10.4, allocations: 34.84 kB / 4.653 GB, free: 97.64 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/10.4, allocations: 4 kB / 4.653 GB, free: 97.63 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001052/10.4, allocations: 0.4902 MB / 4.654 GB, free: 97.14 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/10.4, allocations: 55.41 kB / 4.654 GB, free: 97.07 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/10.41, allocations: 1.143 MB / 4.655 GB, free: 95.92 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/10.41, allocations: 41.7 kB / 4.655 GB, free: 95.88 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/10.41, allocations: 0.6833 MB / 4.656 GB, free: 95.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/10.41, allocations: 114.4 kB / 4.656 GB, free: 95.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/10.41, allocations: 11.94 kB / 4.656 GB, free: 95.06 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/10.41, allocations: 334 kB / 4.656 GB, free: 94.73 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/10.41, allocations: 213.4 kB / 4.656 GB, free: 94.52 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/10.41, allocations: 0.5411 MB / 4.657 GB, free: 93.82 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/10.41, allocations: 286.2 kB / 4.657 GB, free: 93.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/10.41, allocations: 4 kB / 4.657 GB, free: 93.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00105/10.41, allocations: 0.8063 MB / 4.658 GB, free: 92.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007502/10.41, allocations: 3.819 MB / 4.662 GB, free: 88.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/10.41, allocations: 15.98 kB / 4.662 GB, free: 88.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/10.41, allocations: 12 kB / 4.662 GB, free: 88.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/10.41, allocations: 207.7 kB / 4.662 GB, free: 88.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/10.41, allocations: 23.92 kB / 4.662 GB, free: 88.42 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/10.41, allocations: 234.7 kB / 4.662 GB, free: 88.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/10.41, allocations: 39.98 kB / 4.662 GB, free: 88.15 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/10.41, allocations: 7.953 kB / 4.662 GB, free: 88.14 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009042/10.41, allocations: 0.6633 MB / 4.663 GB, free: 87.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/10.41, allocations: 19.92 kB / 4.663 GB, free: 87.46 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/10.41, allocations: 12 kB / 4.663 GB, free: 87.45 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/10.41, allocations: 212.3 kB / 4.663 GB, free: 87.24 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/10.41, allocations: 23.86 kB / 4.663 GB, free: 87.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/10.41, allocations: 199 kB / 4.663 GB, free: 87.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/10.41, allocations: 43.98 kB / 4.663 GB, free: 86.98 MB / 1.167 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 () * 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.000173/10.41, allocations: 156.7 kB / 4.664 GB, free: 86.82 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/10.41, allocations: 138.3 kB / 4.664 GB, free: 86.68 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/10.42, allocations: 0.5232 MB / 4.664 GB, free: 86.15 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/10.42, allocations: 0 / 4.664 GB, free: 86.15 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/10.42, allocations: 4 kB / 4.664 GB, free: 86.14 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/10.42, allocations: 0 / 4.664 GB, free: 86.14 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/10.42, allocations: 1.754 MB / 4.666 GB, free: 84.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/10.42, allocations: 8.031 kB / 4.666 GB, free: 84.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/10.42, allocations: 103.9 kB / 4.666 GB, free: 84.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/10.42, allocations: 8 kB / 4.666 GB, free: 84.17 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/10.42, allocations: 11.98 kB / 4.666 GB, free: 84.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/10.42, allocations: 11.95 kB / 4.666 GB, free: 84.14 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/10.42, allocations: 7.938 kB / 4.666 GB, free: 84.14 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/10.42, allocations: 0.8805 MB / 4.667 GB, free: 83.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/10.42, allocations: 287.2 kB / 4.667 GB, free: 82.79 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/10.42, allocations: 16 kB / 4.667 GB, free: 82.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/10.42, allocations: 115.8 kB / 4.667 GB, free: 82.66 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/10.42, allocations: 35.84 kB / 4.667 GB, free: 82.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/10.42, allocations: 27.98 kB / 4.667 GB, free: 82.59 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001009/10.42, allocations: 0.8759 MB / 4.668 GB, free: 81.72 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/10.42, allocations: 0 / 4.668 GB, free: 81.72 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002969/10.43, allocations: 0.8701 MB / 4.669 GB, free: 80.85 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.005401/10.43, allocations: 5.472 MB / 4.674 GB, free: 74.91 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00149/10.43, allocations: 0.8821 MB / 4.675 GB, free: 74.04 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/10.43, allocations: 0 / 4.675 GB, free: 74.04 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/10.43, allocations: 192.9 kB / 4.675 GB, free: 73.85 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/10.44, allocations: 0.6194 MB / 4.676 GB, free: 73.23 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/10.44, allocations: 1.966 MB / 4.678 GB, free: 71.17 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/10.44, allocations: 1.211 MB / 4.679 GB, free: 69.92 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001942/10.44, allocations: 478.5 kB / 4.68 GB, free: 69.45 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/10.44, allocations: 459.3 kB / 4.68 GB, free: 69 MB / 1.167 GB Notification: Performance of SimCode: time 1.352e-06/10.44, allocations: 0 / 4.68 GB, free: 69 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/10.57, allocations: 85.54 MB / 4.764 GB, free: 15.76 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/10.57, allocations: 207.8 kB / 4.764 GB, free: 15.52 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.246/15.82, allocations: 2.109 kB / 4.764 GB, free: 15.52 MB / 1.198 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