Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",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.409/2.409, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.0009811/0.0009811, allocations: 180.9 kB / 496.1 MB, free: 12.84 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.458/1.458, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0008634/0.0008634, allocations: 83.92 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.145e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2477, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.315/2.563, allocations: 0.8026 GB / 2.021 GB, free: 80.33 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/2.563, allocations: 86.98 kB / 2.022 GB, free: 80.29 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 1.728/4.291, allocations: 467.9 MB / 2.478 GB, free: 117.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.323e-06/4.291, allocations: 3.938 kB / 2.478 GB, free: 117.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.691e-05/4.291, allocations: 16 kB / 2.478 GB, free: 117.6 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002297/4.293, allocations: 1.044 MB / 2.48 GB, free: 116.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/4.293, allocations: 12.03 kB / 2.48 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/4.293, allocations: 94.52 kB / 2.48 GB, free: 116.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/4.295, allocations: 234.9 kB / 2.48 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/4.296, allocations: 0.6497 MB / 2.48 GB, free: 115.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/4.296, allocations: 37 kB / 2.481 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/4.296, allocations: 55.89 kB / 2.481 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/4.297, allocations: 0.5607 MB / 2.481 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/4.297, allocations: 4 kB / 2.481 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/4.297, allocations: 20 kB / 2.481 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/4.297, allocations: 20.94 kB / 2.481 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/4.298, allocations: 447.8 kB / 2.482 GB, free: 114.3 MB / 1.167 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.002248/4.3, allocations: 2.133 MB / 2.484 GB, free: 112 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/4.3, allocations: 359.7 kB / 2.484 GB, free: 111.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/4.301, allocations: 205.3 kB / 2.484 GB, free: 111.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/4.301, allocations: 190.4 kB / 2.484 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/4.301, allocations: 34.84 kB / 2.484 GB, free: 111.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/4.301, allocations: 4 kB / 2.484 GB, free: 111.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=34): time 0.0009663/4.302, allocations: 444 kB / 2.485 GB, free: 110.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/4.302, allocations: 51.41 kB / 2.485 GB, free: 110.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/4.302, allocations: 427.9 kB / 2.485 GB, free: 110.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/4.302, allocations: 33.7 kB / 2.485 GB, free: 110.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/4.303, allocations: 296 kB / 2.486 GB, free: 109.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/4.303, allocations: 130.2 kB / 2.486 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/4.303, allocations: 4 kB / 2.486 GB, free: 109.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/4.303, allocations: 358.8 kB / 2.486 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/4.303, allocations: 136 kB / 2.486 GB, free: 109.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/4.303, allocations: 207.7 kB / 2.486 GB, free: 109 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/4.303, allocations: 175.6 kB / 2.487 GB, free: 108.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/4.303, allocations: 4 kB / 2.487 GB, free: 108.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005217/4.304, allocations: 432.4 kB / 2.487 GB, free: 108.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/4.304, allocations: 449.1 kB / 2.487 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/4.304, allocations: 4 kB / 2.487 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/4.304, allocations: 4 kB / 2.487 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/4.305, allocations: 91.77 kB / 2.488 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002814/4.305, allocations: 0.59 MB / 2.488 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/4.305, allocations: 75.64 kB / 2.488 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/4.305, allocations: 19.98 kB / 2.488 GB, free: 107.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/4.305, allocations: 4 kB / 2.488 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004656/4.306, allocations: 363.2 kB / 2.489 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/4.306, allocations: 4 kB / 2.489 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/4.306, allocations: 7.922 kB / 2.489 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/4.306, allocations: 75.86 kB / 2.489 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/4.306, allocations: 4 kB / 2.489 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/4.306, allocations: 75.75 kB / 2.489 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/4.306, allocations: 16 kB / 2.489 GB, free: 106.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/4.306, allocations: 126.2 kB / 2.489 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/4.307, allocations: 51.34 kB / 2.489 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/4.307, allocations: 463.3 kB / 2.489 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/4.307, allocations: 7.953 kB / 2.489 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/4.307, allocations: 0 / 2.489 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000517/4.308, allocations: 0.6761 MB / 2.49 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/4.309, allocations: 1.404 MB / 2.491 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/4.309, allocations: 4 kB / 2.491 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/4.31, allocations: 87.81 kB / 2.491 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/4.31, allocations: 37.03 kB / 2.491 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/4.31, allocations: 8 kB / 2.491 GB, free: 103.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004133/4.31, allocations: 1.15 MB / 2.493 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/4.31, allocations: 192 / 2.493 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/4.311, allocations: 0.8005 MB / 2.493 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/4.311, allocations: 176.5 kB / 2.494 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/4.311, allocations: 12 kB / 2.494 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/4.312, allocations: 43.86 kB / 2.494 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/4.312, allocations: 27.91 kB / 2.494 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/4.312, allocations: 16 kB / 2.494 GB, free: 101.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002949/4.312, allocations: 345.5 kB / 2.494 GB, free: 100.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.312, allocations: 0 / 2.494 GB, free: 100.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001686/4.314, allocations: 0.5731 MB / 2.495 GB, free: 100.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002735/4.317, allocations: 2.768 MB / 2.497 GB, free: 97.45 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008915/4.318, allocations: 0.5846 MB / 2.498 GB, free: 96.86 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/4.318, allocations: 0 / 2.498 GB, free: 96.86 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/4.318, allocations: 204.5 kB / 2.498 GB, free: 96.66 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/4.319, allocations: 330.3 kB / 2.498 GB, free: 96.35 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/4.321, allocations: 1.308 MB / 2.5 GB, free: 94.98 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/4.322, allocations: 0.9459 MB / 2.501 GB, free: 94.01 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000667/4.322, allocations: 256.5 kB / 2.501 GB, free: 93.76 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/4.323, allocations: 207.4 kB / 2.501 GB, free: 93.55 MB / 1.167 GB Notification: Performance of SimCode: time 3.41e-07/4.323, allocations: 0 / 2.501 GB, free: 93.55 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/4.381, allocations: 36 MB / 2.536 GB, free: 57.82 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/4.382, allocations: 227.6 kB / 2.536 GB, free: 57.53 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/7.552, allocations: 0 / 2.536 GB, free: 57.53 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat does not exist to compare? outputFormat=mat