Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.32/2.32, allocations: 390.5 MB / 398 MB, free: 10.95 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.001091/0.001092, allocations: 183.2 kB / 491.2 MB, free: 1.562 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.5/1.5, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009416/0.0009416, allocations: 87.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.78e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/5.644, allocations: 1.917 GB / 3.13 GB, free: 345.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/5.644, allocations: 86.42 kB / 3.13 GB, free: 345.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6664/6.311, allocations: 360.7 MB / 3.482 GB, free: 1.312 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.685e-06/6.311, allocations: 3.984 kB / 3.482 GB, free: 1.309 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.11e-05/6.311, allocations: 23.98 kB / 3.482 GB, free: 1.285 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.001599/6.313, allocations: 0.9742 MB / 3.483 GB, free: 272 kB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/6.313, allocations: 12.03 kB / 3.483 GB, free: 260 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.834/7.147, allocations: 263.8 kB / 3.483 GB, free: 319.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/7.149, allocations: 0.7057 MB / 3.484 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/7.149, allocations: 17.62 kB / 3.484 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/7.149, allocations: 37.78 kB / 3.484 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/7.15, allocations: 449.6 kB / 3.484 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/7.151, allocations: 477.5 kB / 3.485 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/7.151, allocations: 1.656 kB / 3.485 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/7.151, allocations: 4.406 kB / 3.485 GB, free: 319 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/7.152, allocations: 20.8 kB / 3.485 GB, free: 319 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.003531/7.155, allocations: 2.268 MB / 3.487 GB, free: 318 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/7.156, allocations: 378.4 kB / 3.487 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/7.156, allocations: 195.7 kB / 3.488 GB, free: 317.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/7.156, allocations: 104.5 kB / 3.488 GB, free: 317.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/7.156, allocations: 44.11 kB / 3.488 GB, free: 317.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.906e-06/7.156, allocations: 0.75 kB / 3.488 GB, free: 317.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002794/7.159, allocations: 1.171 MB / 3.489 GB, free: 317.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/7.159, allocations: 60.95 kB / 3.489 GB, free: 317.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/7.16, allocations: 385.6 kB / 3.489 GB, free: 317.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/7.16, allocations: 26.45 kB / 3.489 GB, free: 317.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/7.16, allocations: 327.4 kB / 3.49 GB, free: 317.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/7.16, allocations: 164.9 kB / 3.49 GB, free: 317 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/7.16, allocations: 0 / 3.49 GB, free: 317 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001298/7.16, allocations: 369 kB / 3.49 GB, free: 316.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/7.161, allocations: 157.2 kB / 3.49 GB, free: 316.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/7.161, allocations: 245.9 kB / 3.49 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.002736/7.164, allocations: 1.014 MB / 3.491 GB, free: 316.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/7.164, allocations: 0 / 3.491 GB, free: 316.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008715/7.165, allocations: 486.7 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/7.165, allocations: 5.828 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/7.165, allocations: 5.562 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/7.165, allocations: 4.203 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/7.165, allocations: 95.14 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/7.165, allocations: 4.594 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/7.166, allocations: 31.67 kB / 3.492 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/7.166, allocations: 19.08 kB / 3.492 GB, free: 316.3 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.0001376/7.166, allocations: 117.3 kB / 3.492 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007136/7.167, allocations: 442.7 kB / 3.493 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/7.167, allocations: 61.06 kB / 3.493 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/7.167, allocations: 68.16 kB / 3.493 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/7.167, allocations: 4.688 kB / 3.493 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/7.167, allocations: 1.266 kB / 3.493 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000651/7.168, allocations: 486.2 kB / 3.493 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/7.17, allocations: 1.445 MB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/7.17, allocations: 4.281 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/7.171, allocations: 116.2 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/7.171, allocations: 10.88 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/7.171, allocations: 8.734 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.745e-05/7.171, allocations: 12.84 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/7.171, allocations: 8.5 kB / 3.495 GB, free: 315.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/7.172, allocations: 1.077 MB / 3.496 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/7.173, allocations: 183.2 kB / 3.496 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/7.173, allocations: 10.55 kB / 3.496 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/7.173, allocations: 32.64 kB / 3.496 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/7.173, allocations: 40.83 kB / 3.496 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/7.173, allocations: 23.97 kB / 3.496 GB, free: 314.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000423/7.174, allocations: 302.2 kB / 3.496 GB, free: 314.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/7.174, allocations: 0 / 3.496 GB, free: 314.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001092/7.175, allocations: 248.3 kB / 3.497 GB, free: 314.6 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.00423/7.179, allocations: 4.092 MB / 3.501 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009244/7.18, allocations: 394.1 kB / 3.501 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/7.18, allocations: 1.781 kB / 3.501 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/7.18, allocations: 211 kB / 3.501 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/7.183, allocations: 412.1 kB / 3.502 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/7.186, allocations: 1.395 MB / 3.503 GB, free: 311.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/7.186, allocations: 0.9974 MB / 3.504 GB, free: 310.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007171/7.187, allocations: 156.9 kB / 3.504 GB, free: 310.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/7.187, allocations: 237.9 kB / 3.504 GB, free: 310.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/7.187, allocations: 3.25 kB / 3.504 GB, free: 310.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/7.262, allocations: 25.44 MB / 3.529 GB, free: 310.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/7.262, allocations: 190.7 kB / 3.529 GB, free: 310 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/10.09, allocations: 3.375 kB / 3.529 GB, free: 310 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat