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.23/2.23, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001183/0.001183, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.598/1.598, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0009833/0.0009834, allocations: 94.83 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 15.22 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.311/4.628, allocations: 1.917 GB / 3.14 GB, free: 70.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/4.628, allocations: 93.08 kB / 3.14 GB, free: 70.58 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.453/6.082, allocations: 365.2 MB / 3.497 GB, free: 181.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.493e-06/6.082, allocations: 0 / 3.497 GB, free: 181.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001019/6.082, allocations: 23.98 kB / 3.497 GB, free: 181.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002965/6.085, allocations: 1.085 MB / 3.498 GB, free: 180.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/6.085, allocations: 19.95 kB / 3.498 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/6.085, allocations: 102.5 kB / 3.498 GB, free: 180 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/6.087, allocations: 266.7 kB / 3.498 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/6.089, allocations: 0.7025 MB / 3.499 GB, free: 179 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/6.089, allocations: 53.3 kB / 3.499 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/6.089, allocations: 60 kB / 3.499 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/6.09, allocations: 0.557 MB / 3.499 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/6.09, allocations: 3.984 kB / 3.499 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/6.09, allocations: 24 kB / 3.5 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/6.09, allocations: 25.27 kB / 3.5 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/6.091, allocations: 497 kB / 3.5 GB, free: 177.8 MB / 1.167 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.003411/6.095, allocations: 2.388 MB / 3.502 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/6.095, allocations: 410.7 kB / 3.503 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/6.096, allocations: 97.09 kB / 3.503 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/6.096, allocations: 46.5 kB / 3.503 GB, free: 174.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.346e-06/6.096, allocations: 3.938 kB / 3.503 GB, free: 174.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=48): time 0.002903/6.099, allocations: 1.426 MB / 3.504 GB, free: 173.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/6.099, allocations: 59.84 kB / 3.504 GB, free: 173 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/6.099, allocations: 478.4 kB / 3.505 GB, free: 172.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/6.099, allocations: 37.7 kB / 3.505 GB, free: 172.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/6.099, allocations: 320.7 kB / 3.505 GB, free: 172.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/6.1, allocations: 177.4 kB / 3.505 GB, free: 172 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/6.1, allocations: 4 kB / 3.505 GB, free: 172 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/6.1, allocations: 382.7 kB / 3.506 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/6.1, allocations: 173 kB / 3.506 GB, free: 171.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/6.1, allocations: 261.6 kB / 3.506 GB, free: 171.2 MB / 1.167 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.002562/6.103, allocations: 1.047 MB / 3.507 GB, free: 170.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/6.103, allocations: 0 / 3.507 GB, free: 170.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007515/6.104, allocations: 0.5226 MB / 3.508 GB, free: 169.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/6.104, allocations: 12.16 kB / 3.508 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/6.104, allocations: 0 / 3.508 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/6.104, allocations: 4.062 kB / 3.508 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/6.104, allocations: 95.91 kB / 3.508 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/6.104, allocations: 7.984 kB / 3.508 GB, free: 169.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/6.105, allocations: 43.83 kB / 3.508 GB, free: 169.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/6.105, allocations: 19.98 kB / 3.508 GB, free: 169.4 MB / 1.167 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 () * Number of clocked 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.0003605/6.105, allocations: 252.4 kB / 3.508 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/6.106, allocations: 75.14 kB / 3.508 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/6.106, allocations: 74.45 kB / 3.508 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/6.106, allocations: 8 kB / 3.508 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/6.106, allocations: 4 kB / 3.508 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005872/6.106, allocations: 0.5106 MB / 3.509 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/6.109, allocations: 1.581 MB / 3.51 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/6.109, allocations: 4 kB / 3.51 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/6.109, allocations: 111.8 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/6.109, allocations: 11.98 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/6.109, allocations: 23.98 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/6.109, allocations: 11.88 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/6.109, allocations: 8 kB / 3.51 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/6.11, allocations: 1.127 MB / 3.511 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/6.111, allocations: 200.3 kB / 3.512 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/6.111, allocations: 16 kB / 3.512 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/6.112, allocations: 39.83 kB / 3.512 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/6.112, allocations: 43.84 kB / 3.512 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/6.112, allocations: 27.98 kB / 3.512 GB, free: 164.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000414/6.112, allocations: 386.8 kB / 3.512 GB, free: 164.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/6.112, allocations: 4 kB / 3.512 GB, free: 164.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001066/6.113, allocations: 292 kB / 3.512 GB, free: 164.2 MB / 1.167 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 () * Number of clocked 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.003044/6.116, allocations: 4.011 MB / 3.516 GB, free: 160.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007087/6.117, allocations: 429.6 kB / 3.517 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/6.117, allocations: 4 kB / 3.517 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003023/6.117, allocations: 231.6 kB / 3.517 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/6.119, allocations: 463.4 kB / 3.517 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/6.125, allocations: 4.972 MB / 3.522 GB, free: 153.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/6.126, allocations: 1.001 MB / 3.523 GB, free: 152.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007349/6.127, allocations: 161.9 kB / 3.523 GB, free: 152.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/6.127, allocations: 251.4 kB / 3.524 GB, free: 152.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/6.127, allocations: 0 / 3.524 GB, free: 152.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/6.188, allocations: 36.29 MB / 3.559 GB, free: 116.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/6.188, allocations: 239.7 kB / 3.559 GB, free: 116.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/9.518, allocations: 1.828 kB / 3.559 GB, free: 116.3 MB / 1.167 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