Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 16 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8221, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2018/1.024, allocations: 173.3 MB / 1.123 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01475/1.039, allocations: 9.385 MB / 1.132 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/1.041, allocations: 47.62 kB / 1.132 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/1.044, allocations: 0.8399 MB / 1.133 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008665/1.053, allocations: 2.544 MB / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004789/1.057, allocations: 1.508 MB / 1.137 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005132/1.063, allocations: 2.327 MB / 1.139 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/1.064, allocations: 0.9731 MB / 1.14 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/1.067, allocations: 0.9927 MB / 1.141 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/1.068, allocations: 0.7587 MB / 1.142 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.068, allocations: 56 kB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/1.072, allocations: 1.069 MB / 1.143 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/1.072, allocations: 486.6 kB / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006139/1.073, allocations: 333 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/1.076, allocations: 1.921 MB / 1.145 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/1.076, allocations: 0 / 1.145 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.464e-06/1.076, allocations: 0 / 1.145 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.39e-05/1.076, allocations: 0 / 1.145 GB, free: 11.19 MB / 0.9044 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.002779/1.079, allocations: 1.581 MB / 1.147 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.079, allocations: 8.031 kB / 1.147 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/1.082, allocations: 0.4898 MB / 1.147 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/1.084, allocations: 1.023 MB / 1.148 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/1.084, allocations: 82.14 kB / 1.149 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/1.084, allocations: 111.9 kB / 1.149 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/1.086, allocations: 1.141 MB / 1.15 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.087, allocations: 0 / 1.15 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.087, allocations: 47.98 kB / 1.15 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/1.087, allocations: 42.14 kB / 1.15 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/1.088, allocations: 1.07 MB / 1.151 GB, free: 5.453 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005954/1.094, allocations: 4.208 MB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.095, allocations: 0.7894 MB / 1.156 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/1.096, allocations: 28.97 kB / 1.156 GB, free: 144 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.096, allocations: 47.56 kB / 1.156 GB, free: 88 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 2.535e-06/1.096, allocations: 3.938 kB / 1.156 GB, free: 84 kB / 0.9044 GB Notification: Performance of matching and sorting (n=89): time 0.006109/1.102, allocations: 2.842 MB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.102, allocations: 64.39 kB / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.103, allocations: 0.9599 MB / 1.16 GB, free: 12.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/1.103, allocations: 45.7 kB / 1.16 GB, free: 12.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/1.104, allocations: 0.5395 MB / 1.16 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/1.104, allocations: 315.4 kB / 1.16 GB, free: 11.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/1.104, allocations: 23.94 kB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.104, allocations: 341.9 kB / 1.161 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/1.104, allocations: 333.8 kB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/1.105, allocations: 481.9 kB / 1.162 GB, free: 9.988 MB / 0.92 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.00481/1.11, allocations: 2.238 MB / 1.164 GB, free: 7.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.11, allocations: 0 / 1.164 GB, free: 7.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001583/1.111, allocations: 1.011 MB / 1.165 GB, free: 6.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.112, allocations: 4 kB / 1.165 GB, free: 6.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.112, allocations: 4 kB / 1.165 GB, free: 6.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.112, allocations: 11.95 kB / 1.165 GB, free: 6.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/1.112, allocations: 183.7 kB / 1.165 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.112, allocations: 8.312 kB / 1.165 GB, free: 6.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.114, allocations: 75.8 kB / 1.165 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/1.114, allocations: 35.98 kB / 1.165 GB, free: 6.371 MB / 0.92 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 () * Number of clocked 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.0006248/1.114, allocations: 379.2 kB / 1.165 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/1.114, allocations: 130.5 kB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/1.115, allocations: 148.3 kB / 1.166 GB, free: 5.715 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.115, allocations: 12 kB / 1.166 GB, free: 5.703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.115, allocations: 7.953 kB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/1.116, allocations: 1.086 MB / 1.167 GB, free: 4.535 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/1.121, allocations: 3.047 MB / 1.17 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.121, allocations: 8 kB / 1.17 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/1.122, allocations: 160.6 kB / 1.17 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/1.122, allocations: 105.6 kB / 1.17 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/1.122, allocations: 28 kB / 1.17 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/1.124, allocations: 2.897 MB / 1.173 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.124, allocations: 15.89 kB / 1.173 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.127, allocations: 2.245 MB / 1.175 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/1.128, allocations: 307.5 kB / 1.175 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.128, allocations: 31.98 kB / 1.175 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/1.129, allocations: 78.83 kB / 1.175 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.129, allocations: 92.11 kB / 1.176 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/1.129, allocations: 43.98 kB / 1.176 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009002/1.13, allocations: 0.6917 MB / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.13, allocations: 0 / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001112/1.131, allocations: 372 kB / 1.177 GB, free: 9.66 MB / 0.9356 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 () * Number of clocked 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.0005191/1.132, allocations: 245.8 kB / 1.177 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.133, allocations: 0.8244 MB / 1.178 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.133, allocations: 4 kB / 1.178 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000921/1.134, allocations: 0.662 MB / 1.178 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.138, allocations: 0.8744 MB / 1.179 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/1.142, allocations: 3.256 MB / 1.182 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008444/1.143, allocations: 1.276 MB / 1.184 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001311/1.144, allocations: 343 kB / 1.184 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/1.144, allocations: 99.44 kB / 1.184 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/1.144, allocations: 0 / 1.184 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of Templates: time 0.04306/1.187, allocations: 26.17 MB / 1.21 GB, free: 8.086 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches