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.001506/0.001512, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 198 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.519/2.519, allocations: 390.2 MB / 0.6649 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.717, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2481/0.9651, allocations: 207.7 MB / 1.152 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.9802, allocations: 9.943 MB / 1.162 GB, free: 7.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.9824, allocations: 47.69 kB / 1.162 GB, free: 7.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.9848, allocations: 0.6644 MB / 1.163 GB, free: 7.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007268/0.9921, allocations: 2.65 MB / 1.165 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.9958, allocations: 1.251 MB / 1.167 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006254/1.002, allocations: 5.644 MB / 1.172 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/1.004, allocations: 1.125 MB / 1.173 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/1.007, allocations: 1.159 MB / 1.174 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/1.011, allocations: 1.268 MB / 1.176 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004977/1.011, allocations: 72 kB / 1.176 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006133/1.018, allocations: 2.758 MB / 1.178 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/1.019, allocations: 0.5336 MB / 1.179 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/1.021, allocations: 0.7775 MB / 1.18 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003449/1.024, allocations: 2.249 MB / 1.182 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.024, allocations: 0 / 1.182 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.223e-06/1.024, allocations: 0 / 1.182 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.163e-05/1.024, allocations: 0 / 1.182 GB, free: 3.52 MB / 0.9356 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.003742/1.028, allocations: 1.89 MB / 1.184 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/1.028, allocations: 12.03 kB / 1.184 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/1.031, allocations: 489.6 kB / 1.184 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/1.033, allocations: 1.057 MB / 1.185 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/1.033, allocations: 86.14 kB / 1.185 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/1.033, allocations: 111.9 kB / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/1.036, allocations: 1.153 MB / 1.186 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/1.036, allocations: 3.938 kB / 1.186 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.036, allocations: 51.98 kB / 1.187 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/1.036, allocations: 46.06 kB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.037, allocations: 1.078 MB / 1.188 GB, free: 13.41 MB / 0.9512 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.006024/1.043, allocations: 4.208 MB / 1.192 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.045, allocations: 0.7901 MB / 1.193 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/1.045, allocations: 482.2 kB / 1.193 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/1.046, allocations: 296.3 kB / 1.193 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.046, allocations: 43.56 kB / 1.193 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.595e-06/1.046, allocations: 0 / 1.193 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005739/1.052, allocations: 2.844 MB / 1.196 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.052, allocations: 64.41 kB / 1.196 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.053, allocations: 0.9793 MB / 1.197 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/1.053, allocations: 45.64 kB / 1.197 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/1.053, allocations: 0.5473 MB / 1.198 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/1.054, allocations: 311.4 kB / 1.198 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.054, allocations: 162.6 kB / 1.198 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.054, allocations: 334 kB / 1.198 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/1.054, allocations: 341.8 kB / 1.199 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/1.055, allocations: 493.9 kB / 1.199 GB, free: 0.9883 MB / 0.9512 GB 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) 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/1.061, allocations: 3.041 MB / 1.202 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.061, allocations: 0 / 1.202 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00159/1.063, allocations: 1.008 MB / 1.203 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.063, allocations: 8 kB / 1.203 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.063, allocations: 4 kB / 1.203 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.063, allocations: 11.94 kB / 1.203 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/1.064, allocations: 175.8 kB / 1.203 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/1.064, allocations: 15.92 kB / 1.203 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.065, allocations: 79.95 kB / 1.203 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/1.065, allocations: 32 kB / 1.203 GB, free: 12.53 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005938/1.066, allocations: 377.5 kB / 1.204 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.066, allocations: 130.4 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/1.066, allocations: 152.2 kB / 1.204 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.066, allocations: 8 kB / 1.204 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.066, allocations: 0 / 1.204 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/1.068, allocations: 1.098 MB / 1.205 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/1.073, allocations: 3.039 MB / 1.208 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.073, allocations: 8 kB / 1.208 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/1.074, allocations: 167.8 kB / 1.208 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/1.074, allocations: 106.1 kB / 1.208 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/1.074, allocations: 28 kB / 1.208 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/1.076, allocations: 2.873 MB / 1.211 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.076, allocations: 15.94 kB / 1.211 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/1.079, allocations: 1.733 MB / 1.213 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/1.08, allocations: 303.5 kB / 1.213 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/1.08, allocations: 28 kB / 1.213 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.081, allocations: 77.67 kB / 1.213 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.081, allocations: 88.09 kB / 1.213 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/1.081, allocations: 47.98 kB / 1.213 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000964/1.082, allocations: 0.6995 MB / 1.214 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.082, allocations: 0 / 1.214 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001281/1.083, allocations: 372 kB / 1.215 GB, free: 0.5156 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000545/1.084, allocations: 255.3 kB / 1.215 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.085, allocations: 0.824 MB / 1.216 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.085, allocations: 7.906 kB / 1.216 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/1.086, allocations: 0.6738 MB / 1.216 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.09, allocations: 0.8814 MB / 1.217 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/1.095, allocations: 3.328 MB / 1.22 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/1.096, allocations: 1.241 MB / 1.222 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/1.096, allocations: 111.4 kB / 1.222 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/1.096, allocations: 0 / 1.222 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of Templates: time 0.5303/1.627, allocations: 27.08 MB / 1.248 GB, free: 280.1 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches