Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001118/0.001118, allocations: 184.8 kB / 496.1 MB, free: 12.88 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.805/1.805, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001048/0.001048, allocations: 87.91 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.908e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4063, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.61/7.016, allocations: 1.923 GB / 3.142 GB, free: 335.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/7.016, allocations: 86.83 kB / 3.142 GB, free: 335.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.265/9.281, allocations: 0.7646 GB / 3.907 GB, free: 15.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/9.282, allocations: 0 / 3.907 GB, free: 15.05 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001874/9.282, allocations: 43.94 kB / 3.907 GB, free: 15.01 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004029/9.286, allocations: 1.539 MB / 3.908 GB, free: 13.42 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/9.286, allocations: 8.031 kB / 3.908 GB, free: 13.41 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/9.29, allocations: 481.7 kB / 3.909 GB, free: 12.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/9.292, allocations: 1.113 MB / 3.91 GB, free: 11.79 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/9.293, allocations: 82.14 kB / 3.91 GB, free: 11.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/9.293, allocations: 112 kB / 3.91 GB, free: 11.59 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/9.295, allocations: 1.198 MB / 3.911 GB, free: 10.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/9.295, allocations: 3.938 kB / 3.911 GB, free: 10.35 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/9.295, allocations: 48 kB / 3.911 GB, free: 10.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/9.295, allocations: 42.12 kB / 3.911 GB, free: 10.26 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/9.297, allocations: 0.9963 MB / 3.912 GB, free: 9.258 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.006049/9.303, allocations: 4.219 MB / 3.916 GB, free: 4.758 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/9.304, allocations: 0.7578 MB / 3.917 GB, free: 3.996 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/9.305, allocations: 465.7 kB / 3.917 GB, free: 3.535 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003577/9.305, allocations: 292.1 kB / 3.918 GB, free: 3.191 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/9.305, allocations: 47.34 kB / 3.918 GB, free: 3.137 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/9.305, allocations: 0 / 3.918 GB, free: 3.137 MB / 1.167 GB Notification: Performance of matching and sorting (n=89): time 0.004416/9.31, allocations: 2.252 MB / 3.92 GB, free: 0.832 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/9.31, allocations: 64.14 kB / 3.92 GB, free: 0.7539 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7157/10.03, allocations: 0.8276 MB / 3.921 GB, free: 238.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003999/10.03, allocations: 50.86 kB / 3.921 GB, free: 238.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/10.03, allocations: 0.5437 MB / 3.921 GB, free: 238.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/10.03, allocations: 313.5 kB / 3.922 GB, free: 238.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/10.03, allocations: 20.12 kB / 3.922 GB, free: 238.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000131/10.03, allocations: 336.7 kB / 3.922 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009548/10.03, allocations: 326.5 kB / 3.922 GB, free: 238.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/10.03, allocations: 485.1 kB / 3.923 GB, free: 238.1 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/10.04, allocations: 2.232 MB / 3.925 GB, free: 237.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/10.04, allocations: 1.344 kB / 3.925 GB, free: 237.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002912/10.04, allocations: 0.9794 MB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/10.04, allocations: 7.391 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/10.04, allocations: 3.344 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/10.04, allocations: 7.688 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.04, allocations: 186.4 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/10.04, allocations: 11.05 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/10.04, allocations: 82.25 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/10.04, allocations: 36.53 kB / 3.926 GB, free: 237.7 MB / 1.167 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0003112/10.04, allocations: 170.2 kB / 3.926 GB, free: 237.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/10.04, allocations: 126.7 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/10.05, allocations: 147 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/10.05, allocations: 8.906 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/10.05, allocations: 2.438 kB / 3.927 GB, free: 237.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/10.05, allocations: 1.071 MB / 3.928 GB, free: 237.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008641/10.06, allocations: 3.021 MB / 3.931 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/10.06, allocations: 12.25 kB / 3.931 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/10.06, allocations: 165 kB / 3.931 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/10.06, allocations: 103 kB / 3.931 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/10.06, allocations: 27.36 kB / 3.931 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/10.06, allocations: 2.865 MB / 3.934 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-05/10.06, allocations: 14.36 kB / 3.934 GB, free: 233.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/10.07, allocations: 2.212 MB / 3.936 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/10.07, allocations: 309.4 kB / 3.936 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/10.07, allocations: 28.3 kB / 3.936 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/10.07, allocations: 77.39 kB / 3.936 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/10.07, allocations: 87.92 kB / 3.936 GB, free: 232.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/10.07, allocations: 50.39 kB / 3.937 GB, free: 232.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001458/10.07, allocations: 0.6743 MB / 3.937 GB, free: 232.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/10.07, allocations: 3.844 kB / 3.937 GB, free: 232.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002551/10.07, allocations: 0.5217 MB / 3.938 GB, free: 232.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00324/10.08, allocations: 1.67 MB / 3.939 GB, free: 232 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00208/10.08, allocations: 0.801 MB / 3.94 GB, free: 232 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/10.08, allocations: 7.312 kB / 3.94 GB, free: 232 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/10.08, allocations: 0.652 MB / 3.941 GB, free: 231.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/10.09, allocations: 0.8752 MB / 3.942 GB, free: 231.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/10.09, allocations: 2.295 MB / 3.944 GB, free: 231 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/10.1, allocations: 1.278 MB / 3.945 GB, free: 230.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002443/10.1, allocations: 338.8 kB / 3.945 GB, free: 230.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/10.1, allocations: 100.7 kB / 3.946 GB, free: 230.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/10.1, allocations: 3.125 kB / 3.946 GB, free: 230.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1109/10.21, allocations: 49.93 MB / 3.994 GB, free: 229.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches