Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001567/0.001566, allocations: 180.7 kB / 487.4 MB, free: 5.027 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.656/1.656, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.09 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.911e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.89/6.195, allocations: 1.916 GB / 3.122 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/6.195, allocations: 80.94 kB / 3.122 GB, free: 432.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6755/6.87, allocations: 360.7 MB / 3.475 GB, free: 67.39 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/6.87, allocations: 0 / 3.475 GB, free: 67.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.995e-05/6.871, allocations: 20 kB / 3.475 GB, free: 67.37 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001711/6.872, allocations: 0.9709 MB / 3.476 GB, free: 66.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/6.872, allocations: 8.031 kB / 3.476 GB, free: 66.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/6.874, allocations: 274.7 kB / 3.476 GB, free: 66.08 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/6.875, allocations: 0.7024 MB / 3.477 GB, free: 65.33 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/6.875, allocations: 23.95 kB / 3.477 GB, free: 65.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/6.875, allocations: 40 kB / 3.477 GB, free: 65.27 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007072/6.876, allocations: 450.5 kB / 3.477 GB, free: 64.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/6.877, allocations: 479.9 kB / 3.478 GB, free: 64.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/6.877, allocations: 3.984 kB / 3.478 GB, free: 64.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/6.877, allocations: 0 / 3.478 GB, free: 64.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/6.877, allocations: 25.25 kB / 3.478 GB, free: 64.33 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.002681/6.88, allocations: 2.254 MB / 3.48 GB, free: 61.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/6.88, allocations: 386.8 kB / 3.48 GB, free: 61.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/6.881, allocations: 195 kB / 3.48 GB, free: 61.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/6.881, allocations: 101.1 kB / 3.48 GB, free: 61.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/6.881, allocations: 38.56 kB / 3.481 GB, free: 61.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/6.881, allocations: 3.938 kB / 3.481 GB, free: 61.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002241/6.883, allocations: 1.181 MB / 3.482 GB, free: 59.92 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/6.883, allocations: 63.78 kB / 3.482 GB, free: 59.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/6.883, allocations: 382.2 kB / 3.482 GB, free: 59.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/6.884, allocations: 29.7 kB / 3.482 GB, free: 59.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/6.884, allocations: 328.4 kB / 3.482 GB, free: 59.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/6.884, allocations: 165.5 kB / 3.483 GB, free: 58.94 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/6.884, allocations: 0 / 3.483 GB, free: 58.94 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000119/6.884, allocations: 366.8 kB / 3.483 GB, free: 58.57 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/6.884, allocations: 161 kB / 3.483 GB, free: 58.41 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/6.884, allocations: 240.6 kB / 3.483 GB, free: 58.15 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/6.887, allocations: 1.012 MB / 3.484 GB, free: 57.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/6.887, allocations: 0 / 3.484 GB, free: 57.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000604/6.887, allocations: 483.2 kB / 3.485 GB, free: 56.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/6.887, allocations: 8 kB / 3.485 GB, free: 56.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/6.887, allocations: 0 / 3.485 GB, free: 56.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/6.887, allocations: 4 kB / 3.485 GB, free: 56.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/6.888, allocations: 96 kB / 3.485 GB, free: 56.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/6.888, allocations: 11.95 kB / 3.485 GB, free: 56.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/6.888, allocations: 31.81 kB / 3.485 GB, free: 56.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/6.889, allocations: 20 kB / 3.485 GB, free: 56.46 MB / 1.151 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001414/6.889, allocations: 119.4 kB / 3.485 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005208/6.889, allocations: 439.2 kB / 3.485 GB, free: 55.91 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/6.889, allocations: 59.34 kB / 3.486 GB, free: 55.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/6.889, allocations: 69.59 kB / 3.486 GB, free: 55.78 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/6.889, allocations: 7.953 kB / 3.486 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/6.889, allocations: 0 / 3.486 GB, free: 55.77 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004734/6.89, allocations: 482.9 kB / 3.486 GB, free: 55.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/6.892, allocations: 1.441 MB / 3.487 GB, free: 53.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/6.892, allocations: 8.062 kB / 3.487 GB, free: 53.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/6.892, allocations: 111.9 kB / 3.488 GB, free: 53.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/6.892, allocations: 15.88 kB / 3.488 GB, free: 53.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/6.892, allocations: 12 kB / 3.488 GB, free: 53.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/6.892, allocations: 8 kB / 3.488 GB, free: 53.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/6.892, allocations: 19.94 kB / 3.488 GB, free: 53.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/6.893, allocations: 1.061 MB / 3.489 GB, free: 52.28 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/6.894, allocations: 192.3 kB / 3.489 GB, free: 52.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/6.894, allocations: 19.98 kB / 3.489 GB, free: 52.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/6.894, allocations: 27.83 kB / 3.489 GB, free: 52.02 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/6.894, allocations: 47.84 kB / 3.489 GB, free: 51.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/6.894, allocations: 20 kB / 3.489 GB, free: 51.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002793/6.895, allocations: 302.9 kB / 3.489 GB, free: 51.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.895, allocations: 0 / 3.489 GB, free: 51.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009182/6.896, allocations: 251.9 kB / 3.489 GB, free: 51.42 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.002913/6.898, allocations: 4.08 MB / 3.493 GB, free: 47.17 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005817/6.899, allocations: 400.8 kB / 3.494 GB, free: 46.78 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/6.899, allocations: 0 / 3.494 GB, free: 46.78 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/6.899, allocations: 211.6 kB / 3.494 GB, free: 46.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/6.901, allocations: 408.5 kB / 3.494 GB, free: 46.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/6.904, allocations: 1.385 MB / 3.496 GB, free: 44.69 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/6.904, allocations: 1 MB / 3.497 GB, free: 43.66 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006264/6.905, allocations: 153.2 kB / 3.497 GB, free: 43.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/6.905, allocations: 245.5 kB / 3.497 GB, free: 43.27 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/6.905, allocations: 0 / 3.497 GB, free: 43.27 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/6.978, allocations: 25.44 MB / 3.522 GB, free: 17.99 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/6.978, allocations: 196.3 kB / 3.522 GB, free: 17.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/9.831, allocations: 4 kB / 3.522 GB, free: 17.79 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat