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.286/2.286, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009475/0.0009474, allocations: 187.5 kB / 492.3 MB, free: 0.625 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.636/1.636, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.00102/0.00102, allocations: 99.06 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.296e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.733/6.043, allocations: 1.917 GB / 3.129 GB, free: 347 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/6.044, allocations: 88.62 kB / 3.13 GB, free: 347 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.605/7.649, allocations: 364.9 MB / 3.486 GB, free: 319.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.943e-06/7.649, allocations: 0.5938 kB / 3.486 GB, free: 319.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.856e-05/7.649, allocations: 24 kB / 3.486 GB, free: 319.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002239/7.651, allocations: 0.9648 MB / 3.487 GB, free: 319.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/7.651, allocations: 8.75 kB / 3.487 GB, free: 319.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/7.651, allocations: 106 kB / 3.487 GB, free: 319.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/7.653, allocations: 264.6 kB / 3.487 GB, free: 319.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/7.655, allocations: 0.7038 MB / 3.488 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/7.655, allocations: 48.23 kB / 3.488 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/7.655, allocations: 66.94 kB / 3.488 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/7.657, allocations: 0.5451 MB / 3.489 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/7.657, allocations: 0 / 3.489 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/7.657, allocations: 29.05 kB / 3.489 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-05/7.657, allocations: 25.09 kB / 3.489 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/7.658, allocations: 479.8 kB / 3.489 GB, free: 319.1 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.004204/7.662, allocations: 2.39 MB / 3.491 GB, free: 318 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/7.663, allocations: 398.1 kB / 3.492 GB, free: 318 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/7.663, allocations: 210.6 kB / 3.492 GB, free: 318 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/7.664, allocations: 102.2 kB / 3.492 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/7.664, allocations: 42.92 kB / 3.492 GB, free: 317.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/7.664, allocations: 0 / 3.492 GB, free: 317.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.003076/7.667, allocations: 1.263 MB / 3.493 GB, free: 317.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/7.667, allocations: 61.56 kB / 3.493 GB, free: 317.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/7.668, allocations: 470.9 kB / 3.494 GB, free: 317.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/7.668, allocations: 37.23 kB / 3.494 GB, free: 317.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/7.668, allocations: 326.1 kB / 3.494 GB, free: 317.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/7.668, allocations: 168.9 kB / 3.494 GB, free: 317 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/7.668, allocations: 14.28 kB / 3.494 GB, free: 317 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001876/7.669, allocations: 370.4 kB / 3.495 GB, free: 316.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/7.669, allocations: 169.2 kB / 3.495 GB, free: 316.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/7.669, allocations: 251.9 kB / 3.495 GB, free: 316.6 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.002964/7.672, allocations: 1.041 MB / 3.496 GB, free: 316.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.672, allocations: 0 / 3.496 GB, free: 316.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001073/7.673, allocations: 0.5188 MB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/7.673, allocations: 9.875 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/7.673, allocations: 0.75 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/7.674, allocations: 5.906 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/7.674, allocations: 97.66 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/7.674, allocations: 5.688 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/7.675, allocations: 47.98 kB / 3.497 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/7.675, allocations: 16.62 kB / 3.497 GB, free: 316.4 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.00018/7.675, allocations: 138.9 kB / 3.497 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/7.675, allocations: 67.2 kB / 3.497 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/7.676, allocations: 79.34 kB / 3.497 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/7.676, allocations: 12.28 kB / 3.497 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/7.676, allocations: 0 / 3.497 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008544/7.677, allocations: 0.4978 MB / 3.498 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/7.68, allocations: 1.572 MB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/7.68, allocations: 5.625 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/7.681, allocations: 118.3 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/7.681, allocations: 12.2 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/7.681, allocations: 15.22 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/7.681, allocations: 12.36 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/7.681, allocations: 11.59 kB / 3.499 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/7.683, allocations: 1.119 MB / 3.5 GB, free: 314.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/7.683, allocations: 196.1 kB / 3.501 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/7.683, allocations: 20.27 kB / 3.501 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/7.684, allocations: 38.16 kB / 3.501 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/7.684, allocations: 43.56 kB / 3.501 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/7.684, allocations: 28.73 kB / 3.501 GB, free: 314.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006434/7.685, allocations: 385.6 kB / 3.501 GB, free: 314.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.685, allocations: 0 / 3.501 GB, free: 314.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001488/7.686, allocations: 293.9 kB / 3.501 GB, free: 314.7 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.003784/7.69, allocations: 3.985 MB / 3.505 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000926/7.691, allocations: 418.3 kB / 3.506 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/7.691, allocations: 1.062 kB / 3.506 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/7.691, allocations: 227.1 kB / 3.506 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/7.694, allocations: 465.5 kB / 3.506 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/7.697, allocations: 1.456 MB / 3.508 GB, free: 311.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/7.698, allocations: 0.9997 MB / 3.509 GB, free: 310.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009288/7.699, allocations: 163.4 kB / 3.509 GB, free: 310.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/7.699, allocations: 253.4 kB / 3.509 GB, free: 310.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/7.699, allocations: 3.75 kB / 3.509 GB, free: 310.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/7.826, allocations: 39.07 MB / 3.547 GB, free: 310.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/7.826, allocations: 218.5 kB / 3.547 GB, free: 309.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/11.19, allocations: 0 / 3.547 GB, free: 309.9 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