Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001263/0.001263, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.534/1.534, allocations: 221.3 MB / 0.7915 GB, free: 5.5 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.0009572/0.0009574, allocations: 95.89 kB / 0.9317 GB, free: 5.812 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.86e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.659, allocations: 411.6 MB / 1.621 GB, free: 6.98 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.66, allocations: 80.45 kB / 1.621 GB, free: 6.902 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 3.16/4.82, allocations: 0.6663 GB / 2.287 GB, free: 274.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.347e-06/4.82, allocations: 3.594 kB / 2.287 GB, free: 274.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002292/4.82, allocations: 40.98 kB / 2.287 GB, free: 274.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004194/4.824, allocations: 1.436 MB / 2.289 GB, free: 274 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/4.824, allocations: 13.41 kB / 2.289 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004303/4.825, allocations: 135.7 kB / 2.289 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/4.826, allocations: 203.7 kB / 2.289 GB, free: 273.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05247/4.878, allocations: 23.42 MB / 2.312 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/4.879, allocations: 137 kB / 2.312 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/4.879, allocations: 85.16 kB / 2.312 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/4.881, allocations: 0.9357 MB / 2.313 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/4.881, allocations: 1.5 kB / 2.313 GB, free: 264.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/4.881, allocations: 43.34 kB / 2.313 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/4.882, allocations: 26.73 kB / 2.313 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/4.883, allocations: 0.5016 MB / 2.313 GB, free: 263.9 MB / 1.151 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.007031/4.89, allocations: 4.334 MB / 2.318 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/4.89, allocations: 269.9 kB / 2.318 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/4.891, allocations: 145.6 kB / 2.318 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/4.892, allocations: 1.154 MB / 2.319 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/4.892, allocations: 42.45 kB / 2.319 GB, free: 258.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 5.21e-06/4.892, allocations: 3.75 kB / 2.319 GB, free: 258.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.001592/4.893, allocations: 445.1 kB / 2.32 GB, free: 258.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/4.894, allocations: 55.34 kB / 2.32 GB, free: 258.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/4.895, allocations: 0.8074 MB / 2.32 GB, free: 257.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/4.896, allocations: 35.77 kB / 2.321 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/4.896, allocations: 0.5738 MB / 2.321 GB, free: 257.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/4.896, allocations: 99.17 kB / 2.321 GB, free: 257.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/4.896, allocations: 8 kB / 2.321 GB, free: 257.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001491/4.896, allocations: 329.6 kB / 2.321 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/4.897, allocations: 113.5 kB / 2.322 GB, free: 256.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/4.897, allocations: 324.3 kB / 2.322 GB, free: 256.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/4.897, allocations: 161.7 kB / 2.322 GB, free: 256.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/4.897, allocations: 3.344 kB / 2.322 GB, free: 256.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001698/4.899, allocations: 0.598 MB / 2.323 GB, free: 256.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/4.899, allocations: 7.531 kB / 2.323 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/4.899, allocations: 10.88 kB / 2.323 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000809/4.9, allocations: 140.4 kB / 2.323 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/4.901, allocations: 124.2 kB / 2.323 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/4.902, allocations: 1.69 MB / 2.325 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/4.903, allocations: 124.6 kB / 2.325 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/4.903, allocations: 28.7 kB / 2.325 GB, free: 254.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/4.904, allocations: 146.7 kB / 2.325 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/4.904, allocations: 111.8 kB / 2.325 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/4.905, allocations: 0.5806 MB / 2.326 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/4.905, allocations: 7.922 kB / 2.326 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/4.905, allocations: 0 / 2.326 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/4.905, allocations: 3.953 kB / 2.326 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/4.909, allocations: 1.46 MB / 2.327 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/4.909, allocations: 0 / 2.327 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/4.909, allocations: 80.81 kB / 2.327 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/4.91, allocations: 133.4 kB / 2.327 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/4.91, allocations: 11.09 kB / 2.327 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/4.911, allocations: 1.688 MB / 2.329 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/4.911, allocations: 5 kB / 2.329 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/4.912, allocations: 0.7438 MB / 2.33 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/4.913, allocations: 238.4 kB / 2.33 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/4.913, allocations: 7.062 kB / 2.33 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/4.914, allocations: 95.44 kB / 2.33 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/4.914, allocations: 30.25 kB / 2.33 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/4.914, allocations: 19.02 kB / 2.33 GB, free: 250.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009792/4.915, allocations: 0.6251 MB / 2.331 GB, free: 249.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.915, allocations: 0 / 2.331 GB, free: 249.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001802/4.917, allocations: 404.2 kB / 2.331 GB, free: 249.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002965/4.92, allocations: 2.208 MB / 2.333 GB, free: 248.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001103/4.921, allocations: 404.9 kB / 2.333 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/4.921, allocations: 3.719 kB / 2.333 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/4.922, allocations: 223.4 kB / 2.334 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/4.924, allocations: 0.4909 MB / 2.334 GB, free: 247.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/4.928, allocations: 1.522 MB / 2.336 GB, free: 246.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/4.929, allocations: 1.13 MB / 2.337 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008998/4.93, allocations: 175.7 kB / 2.337 GB, free: 245.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/4.93, allocations: 407.3 kB / 2.337 GB, free: 245.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/4.93, allocations: 3.938 kB / 2.337 GB, free: 245.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06689/4.997, allocations: 32.55 MB / 2.369 GB, free: 221.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/4.998, allocations: 243.6 kB / 2.369 GB, free: 221.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/8.479, allocations: 0 / 2.369 GB, free: 221.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat