Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.425/2.425, allocations: 390.5 MB / 398 MB, free: 10.98 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.001156/0.001157, allocations: 183.5 kB / 491.2 MB, free: 1.613 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.533/1.533, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.000885/0.000885, allocations: 101.4 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.085e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.303, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.717/7.02, allocations: 2.167 GB / 3.379 GB, free: 134.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/7.021, allocations: 96.72 kB / 3.379 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.508/10.53, allocations: 0.7131 GB / 4.092 GB, free: 279.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.076e-06/10.53, allocations: 0 / 4.092 GB, free: 279.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003962/10.53, allocations: 39.5 kB / 4.092 GB, free: 279.6 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.008478/10.54, allocations: 1.567 MB / 4.094 GB, free: 278.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001419/10.54, allocations: 11.47 kB / 4.094 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/10.54, allocations: 499.1 kB / 4.094 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005487/10.55, allocations: 1.36 MB / 4.096 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/10.55, allocations: 33.94 kB / 4.096 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/10.55, allocations: 69.81 kB / 4.096 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002747/10.55, allocations: 1.184 MB / 4.097 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/10.55, allocations: 1.139 MB / 4.098 GB, free: 276.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/10.55, allocations: 3.891 kB / 4.098 GB, free: 276.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/10.55, allocations: 0 / 4.098 GB, free: 276.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.263e-05/10.55, allocations: 45.11 kB / 4.098 GB, free: 276.8 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.009874/10.56, allocations: 4.807 MB / 4.103 GB, free: 273.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/10.57, allocations: 0.9039 MB / 4.104 GB, free: 272.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/10.57, allocations: 0.5668 MB / 4.104 GB, free: 272.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/10.57, allocations: 198.2 kB / 4.104 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/10.57, allocations: 43.28 kB / 4.104 GB, free: 272.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 5.7e-06/10.57, allocations: 3.5 kB / 4.104 GB, free: 272.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.006843/10.57, allocations: 2.558 MB / 4.107 GB, free: 270.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/10.57, allocations: 59 kB / 4.107 GB, free: 270.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/10.58, allocations: 0.7728 MB / 4.108 GB, free: 270.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/10.58, allocations: 29.36 kB / 4.108 GB, free: 270.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/10.58, allocations: 0.5379 MB / 4.108 GB, free: 269.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/10.58, allocations: 299.8 kB / 4.109 GB, free: 269.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/10.58, allocations: 0 / 4.109 GB, free: 269.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001213/10.58, allocations: 337.4 kB / 4.109 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/10.58, allocations: 433.1 kB / 4.109 GB, free: 268.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/10.58, allocations: 0.5817 MB / 4.11 GB, free: 268.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/10.58, allocations: 0.5369 MB / 4.11 GB, free: 268.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/10.58, allocations: 0 / 4.11 GB, free: 268.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001937/10.58, allocations: 1.182 MB / 4.112 GB, free: 267.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/10.58, allocations: 0.8016 MB / 4.112 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/10.58, allocations: 0 / 4.112 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/10.58, allocations: 71.88 kB / 4.112 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/10.58, allocations: 196.2 kB / 4.113 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/10.58, allocations: 2.926 MB / 4.116 GB, free: 264 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/10.59, allocations: 131.8 kB / 4.116 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/10.59, allocations: 26.41 kB / 4.116 GB, free: 263.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/10.59, allocations: 7 kB / 4.116 GB, free: 263.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/10.59, allocations: 1.049 MB / 4.117 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/10.59, allocations: 2.594 kB / 4.117 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/10.59, allocations: 70.31 kB / 4.117 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/10.59, allocations: 174.4 kB / 4.117 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/10.59, allocations: 1.745 MB / 4.119 GB, free: 261.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/10.59, allocations: 137.9 kB / 4.119 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/10.59, allocations: 28.91 kB / 4.119 GB, free: 261.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002853/10.59, allocations: 127.7 kB / 4.119 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001581/10.59, allocations: 1.068 MB / 4.12 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/10.59, allocations: 114 kB / 4.12 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/10.6, allocations: 1.165 MB / 4.121 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/10.6, allocations: 10.72 kB / 4.121 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/10.6, allocations: 0 / 4.121 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/10.6, allocations: 1.227 MB / 4.122 GB, free: 259.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/10.6, allocations: 2.678 MB / 4.125 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/10.6, allocations: 3.688 kB / 4.125 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/10.6, allocations: 235.9 kB / 4.125 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/10.6, allocations: 73.69 kB / 4.125 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/10.6, allocations: 11.55 kB / 4.125 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/10.6, allocations: 2.928 MB / 4.128 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/10.61, allocations: 3.562 kB / 4.128 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/10.61, allocations: 1.912 MB / 4.13 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007067/10.61, allocations: 331.8 kB / 4.13 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/10.61, allocations: 15.61 kB / 4.13 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/10.61, allocations: 107.4 kB / 4.131 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/10.61, allocations: 52.2 kB / 4.131 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/10.61, allocations: 32.09 kB / 4.131 GB, free: 253.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008684/10.61, allocations: 0.6107 MB / 4.131 GB, free: 253.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/10.61, allocations: 0 / 4.131 GB, free: 253.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002461/10.61, allocations: 0.7377 MB / 4.132 GB, free: 253 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004647/10.62, allocations: 4.44 MB / 4.136 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002784/10.62, allocations: 1.873 MB / 4.138 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/10.62, allocations: 3.469 kB / 4.138 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/10.62, allocations: 0.6527 MB / 4.139 GB, free: 246.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/10.62, allocations: 0.7344 MB / 4.139 GB, free: 245.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/10.63, allocations: 3.066 MB / 4.142 GB, free: 242.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009253/10.63, allocations: 1.484 MB / 4.144 GB, free: 241.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002934/10.63, allocations: 1.026 MB / 4.145 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/10.63, allocations: 455.3 kB / 4.145 GB, free: 239.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.885e-06/10.63, allocations: 0 / 4.145 GB, free: 239.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/10.72, allocations: 47.07 MB / 4.191 GB, free: 193.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/10.72, allocations: 213.4 kB / 4.191 GB, free: 193.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.582/14.3, allocations: 0 / 4.191 GB, free: 193.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat does not exist to compare? outputFormat=mat