Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.374/2.374, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001244/0.001244, allocations: 176.9 kB / 487.4 MB, free: 5.035 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.555/1.555, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.00095/0.00095, allocations: 95.53 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.404e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.494, allocations: 410.1 MB / 1.607 GB, free: 12 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.494, allocations: 89.25 kB / 1.607 GB, free: 11.95 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 2.723/4.217, allocations: 0.6626 GB / 2.269 GB, free: 281.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/4.217, allocations: 0 / 2.269 GB, free: 281.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001771/4.217, allocations: 38.94 kB / 2.269 GB, free: 281.1 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003356/4.221, allocations: 1.431 MB / 2.271 GB, free: 280.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/4.221, allocations: 14.28 kB / 2.271 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008551/4.222, allocations: 217.5 kB / 2.271 GB, free: 280.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04585/4.267, allocations: 23.34 MB / 2.294 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/4.268, allocations: 99.25 kB / 2.294 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/4.268, allocations: 50.44 kB / 2.294 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001341/4.27, allocations: 441 kB / 2.294 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/4.271, allocations: 0.8133 MB / 2.295 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/4.271, allocations: 6.219 kB / 2.295 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/4.272, allocations: 3.906 kB / 2.295 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/4.272, allocations: 18.62 kB / 2.295 GB, free: 279 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.006888/4.278, allocations: 4.157 MB / 2.299 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/4.279, allocations: 254 kB / 2.299 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/4.279, allocations: 147.3 kB / 2.299 GB, free: 276.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/4.281, allocations: 1.146 MB / 2.301 GB, free: 275.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/4.281, allocations: 41.41 kB / 2.301 GB, free: 275.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 5.37e-06/4.281, allocations: 0 / 2.301 GB, free: 275.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.001815/4.283, allocations: 457.7 kB / 2.301 GB, free: 275 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/4.283, allocations: 54.78 kB / 2.301 GB, free: 274.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/4.284, allocations: 0.6655 MB / 2.302 GB, free: 274.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/4.284, allocations: 30.42 kB / 2.302 GB, free: 274.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/4.285, allocations: 0.5822 MB / 2.302 GB, free: 274.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/4.285, allocations: 99.2 kB / 2.302 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/4.285, allocations: 0 / 2.302 GB, free: 274.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/4.285, allocations: 321.2 kB / 2.303 GB, free: 274.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/4.285, allocations: 109.3 kB / 2.303 GB, free: 274.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/4.285, allocations: 305.8 kB / 2.303 GB, free: 273.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/4.286, allocations: 186.8 kB / 2.303 GB, free: 273.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/4.286, allocations: 3.906 kB / 2.303 GB, free: 273.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001586/4.288, allocations: 0.5649 MB / 2.304 GB, free: 273.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/4.288, allocations: 7.688 kB / 2.304 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/4.288, allocations: 7.875 kB / 2.304 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/4.288, allocations: 129.6 kB / 2.304 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/4.289, allocations: 132 kB / 2.304 GB, free: 273.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/4.29, allocations: 1.702 MB / 2.306 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/4.291, allocations: 100.7 kB / 2.306 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/4.291, allocations: 28.92 kB / 2.306 GB, free: 272.2 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000223/4.291, allocations: 121.3 kB / 2.306 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001198/4.292, allocations: 458.3 kB / 2.306 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/4.293, allocations: 97.09 kB / 2.307 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/4.294, allocations: 0.5649 MB / 2.307 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/4.294, allocations: 6.797 kB / 2.307 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/4.294, allocations: 3.125 kB / 2.307 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/4.294, allocations: 0 / 2.307 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/4.297, allocations: 1.347 MB / 2.308 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/4.297, allocations: 3.906 kB / 2.308 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/4.297, allocations: 88.16 kB / 2.309 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/4.298, allocations: 112.9 kB / 2.309 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/4.298, allocations: 11.47 kB / 2.309 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008435/4.299, allocations: 1.7 MB / 2.31 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/4.299, allocations: 5.969 kB / 2.31 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/4.3, allocations: 0.7218 MB / 2.311 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/4.3, allocations: 229.3 kB / 2.311 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/4.301, allocations: 7.125 kB / 2.311 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007888/4.301, allocations: 85.38 kB / 2.311 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/4.302, allocations: 33.48 kB / 2.311 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/4.302, allocations: 21.16 kB / 2.311 GB, free: 269.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006521/4.302, allocations: 0.4937 MB / 2.312 GB, free: 269.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/4.302, allocations: 0 / 2.312 GB, free: 269.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001398/4.304, allocations: 396.4 kB / 2.312 GB, free: 269.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002678/4.306, allocations: 2.202 MB / 2.314 GB, free: 267.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007592/4.307, allocations: 364.7 kB / 2.315 GB, free: 267.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/4.307, allocations: 3.375 kB / 2.315 GB, free: 267.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/4.307, allocations: 211 kB / 2.315 GB, free: 267.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/4.31, allocations: 414.5 kB / 2.315 GB, free: 267.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/4.313, allocations: 1.467 MB / 2.317 GB, free: 267.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/4.314, allocations: 1.132 MB / 2.318 GB, free: 266.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007232/4.314, allocations: 152.2 kB / 2.318 GB, free: 266.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/4.315, allocations: 414.2 kB / 2.318 GB, free: 266.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/4.315, allocations: 0 / 2.318 GB, free: 266.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06029/4.375, allocations: 26.01 MB / 2.344 GB, free: 265.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/4.375, allocations: 185.4 kB / 2.344 GB, free: 265.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/7.251, allocations: 0 / 2.344 GB, free: 265.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat