Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.08/2.08, 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.001185/0.001185, allocations: 184.7 kB / 487.4 MB, free: 5.055 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.405/1.405, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.0009954/0.0009956, allocations: 101.1 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.361e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.206, allocations: 2.166 GB / 3.372 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/5.206, allocations: 98.5 kB / 3.372 GB, free: 132.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.724/7.93, allocations: 0.7131 GB / 4.085 GB, free: 283.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.394e-06/7.93, allocations: 0 / 4.085 GB, free: 283.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000213/7.93, allocations: 38.53 kB / 4.085 GB, free: 283.9 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.004736/7.935, allocations: 1.562 MB / 4.087 GB, free: 283.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/7.935, allocations: 9.719 kB / 4.087 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/7.938, allocations: 498.5 kB / 4.087 GB, free: 283 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/7.942, allocations: 1.364 MB / 4.089 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/7.942, allocations: 33.84 kB / 4.089 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/7.942, allocations: 72.58 kB / 4.089 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002248/7.945, allocations: 1.185 MB / 4.09 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/7.947, allocations: 1.132 MB / 4.091 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/7.947, allocations: 3.281 kB / 4.091 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/7.947, allocations: 3.812 kB / 4.091 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/7.947, allocations: 40.06 kB / 4.091 GB, free: 281.7 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.006689/7.954, allocations: 4.803 MB / 4.096 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/7.955, allocations: 0.9166 MB / 4.096 GB, free: 278.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/7.956, allocations: 0.5615 MB / 4.097 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/7.956, allocations: 201.7 kB / 4.097 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/7.956, allocations: 45.44 kB / 4.097 GB, free: 278.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 3.657e-06/7.956, allocations: 3.375 kB / 4.097 GB, free: 278.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.005007/7.961, allocations: 2.556 MB / 4.1 GB, free: 277 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/7.961, allocations: 60.53 kB / 4.1 GB, free: 277 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/7.962, allocations: 0.7692 MB / 4.101 GB, free: 276.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/7.962, allocations: 29.39 kB / 4.101 GB, free: 276.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/7.963, allocations: 0.5464 MB / 4.101 GB, free: 276.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/7.963, allocations: 292 kB / 4.101 GB, free: 276 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/7.963, allocations: 0 / 4.101 GB, free: 276 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/7.963, allocations: 336.5 kB / 4.102 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/7.964, allocations: 435.9 kB / 4.102 GB, free: 275.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/7.964, allocations: 0.582 MB / 4.103 GB, free: 275.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/7.965, allocations: 0.5328 MB / 4.103 GB, free: 275.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/7.965, allocations: 7.312 kB / 4.103 GB, free: 275.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001675/7.967, allocations: 1.184 MB / 4.104 GB, free: 274.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/7.967, allocations: 0.792 MB / 4.105 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/7.967, allocations: 3.953 kB / 4.105 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/7.967, allocations: 74.38 kB / 4.105 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/7.968, allocations: 186.4 kB / 4.105 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/7.97, allocations: 2.936 MB / 4.108 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/7.972, allocations: 130.1 kB / 4.108 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/7.972, allocations: 38.5 kB / 4.108 GB, free: 270.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/7.972, allocations: 5.938 kB / 4.108 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/7.973, allocations: 1.042 MB / 4.109 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/7.973, allocations: 3.953 kB / 4.109 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/7.973, allocations: 70.44 kB / 4.11 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/7.974, allocations: 177.4 kB / 4.11 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/7.975, allocations: 1.739 MB / 4.111 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/7.977, allocations: 139.6 kB / 4.112 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/7.977, allocations: 33.56 kB / 4.112 GB, free: 268.5 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.000242/7.977, allocations: 115.3 kB / 4.112 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/7.977, allocations: 117.5 kB / 4.112 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/7.979, allocations: 1.156 MB / 4.113 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/7.979, allocations: 9.281 kB / 4.113 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/7.979, allocations: 10.84 kB / 4.113 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/7.98, allocations: 1.222 MB / 4.114 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/7.984, allocations: 2.686 MB / 4.117 GB, free: 265.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/7.984, allocations: 2.594 kB / 4.117 GB, free: 265.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/7.985, allocations: 236.6 kB / 4.117 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/7.986, allocations: 66.5 kB / 4.117 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/7.986, allocations: 22.92 kB / 4.117 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/7.987, allocations: 2.915 MB / 4.12 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/7.987, allocations: 7.781 kB / 4.12 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/7.99, allocations: 1.923 MB / 4.122 GB, free: 261.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/7.991, allocations: 324.8 kB / 4.122 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/7.991, allocations: 11.38 kB / 4.122 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/7.992, allocations: 110.7 kB / 4.122 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/7.993, allocations: 60.8 kB / 4.122 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/7.993, allocations: 29.95 kB / 4.122 GB, free: 260.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001115/7.994, allocations: 0.6104 MB / 4.123 GB, free: 260.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/7.994, allocations: 0 / 4.123 GB, free: 260.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003703/7.997, allocations: 0.7305 MB / 4.124 GB, free: 260.5 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.003275/8.001, allocations: 1.523 MB / 4.125 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003687/8.004, allocations: 1.871 MB / 4.127 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/8.005, allocations: 0 / 4.127 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/8.006, allocations: 0.6532 MB / 4.128 GB, free: 258.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/8.01, allocations: 0.7374 MB / 4.128 GB, free: 258.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/8.016, allocations: 2.656 MB / 4.131 GB, free: 257.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/8.017, allocations: 1.48 MB / 4.132 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003068/8.02, allocations: 1.016 MB / 4.133 GB, free: 255.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/8.02, allocations: 75.44 kB / 4.133 GB, free: 255.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/8.02, allocations: 2.281 kB / 4.133 GB, free: 255.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04986/8.07, allocations: 33.32 MB / 4.166 GB, free: 222.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches