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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 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.001128/0.001128, allocations: 198 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6647 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 63.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7533, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2257/0.979, allocations: 209.9 MB / 1.155 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.9929, allocations: 9.866 MB / 1.164 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.9943, allocations: 59.69 kB / 1.164 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.9962, allocations: 0.7726 MB / 1.165 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006152/1.002, allocations: 2.804 MB / 1.168 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/1.006, allocations: 1.368 MB / 1.169 GB, free: 288 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004515/1.01, allocations: 4.058 MB / 1.173 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.012, allocations: 1.336 MB / 1.174 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/1.014, allocations: 1.35 MB / 1.176 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/1.016, allocations: 1.229 MB / 1.177 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/1.016, allocations: 144 kB / 1.177 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/1.02, allocations: 2.373 MB / 1.179 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005951/1.021, allocations: 0.6116 MB / 1.18 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009127/1.022, allocations: 0.8595 MB / 1.181 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003941/1.026, allocations: 2.968 MB / 1.184 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.026, allocations: 0 / 1.184 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.026, allocations: 0 / 1.184 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.274e-05/1.026, allocations: 7.938 kB / 1.184 GB, free: 1.277 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.002916/1.029, allocations: 1.892 MB / 1.186 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.029, allocations: 8.031 kB / 1.186 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/1.032, allocations: 489.7 kB / 1.186 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.033, allocations: 1.054 MB / 1.187 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/1.034, allocations: 86.14 kB / 1.187 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.034, allocations: 115.9 kB / 1.187 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/1.036, allocations: 1.165 MB / 1.188 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.036, allocations: 3.938 kB / 1.188 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.036, allocations: 48 kB / 1.188 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/1.036, allocations: 42.12 kB / 1.188 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/1.037, allocations: 1.074 MB / 1.189 GB, free: 11.17 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.005641/1.043, allocations: 4.235 MB / 1.194 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.044, allocations: 0.7899 MB / 1.194 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/1.045, allocations: 486.2 kB / 1.195 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/1.045, allocations: 292.3 kB / 1.195 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.045, allocations: 51.56 kB / 1.195 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/1.046, allocations: 0 / 1.195 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005447/1.051, allocations: 2.844 MB / 1.198 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.051, allocations: 60.41 kB / 1.198 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.052, allocations: 0.9755 MB / 1.199 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/1.052, allocations: 45.7 kB / 1.199 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/1.053, allocations: 0.5434 MB / 1.2 GB, free: 392 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.053, allocations: 307.5 kB / 1.2 GB, free: 80 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/1.053, allocations: 162.6 kB / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.053, allocations: 342 kB / 1.2 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/1.054, allocations: 337.8 kB / 1.201 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/1.054, allocations: 485.9 kB / 1.201 GB, free: 14.73 MB / 0.9669 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.005979/1.06, allocations: 3.042 MB / 1.204 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.06, allocations: 0 / 1.204 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001534/1.062, allocations: 1.015 MB / 1.205 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.062, allocations: 8 kB / 1.205 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.062, allocations: 3.938 kB / 1.205 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.062, allocations: 8 kB / 1.205 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/1.063, allocations: 183.7 kB / 1.205 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.063, allocations: 8 kB / 1.205 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/1.064, allocations: 35.89 kB / 1.205 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.064, allocations: 28 kB / 1.205 GB, free: 10.31 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.0007022/1.065, allocations: 385.7 kB / 1.206 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.065, allocations: 130.5 kB / 1.206 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/1.065, allocations: 148.3 kB / 1.206 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.065, allocations: 8 kB / 1.206 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.065, allocations: 0 / 1.206 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001466/1.067, allocations: 1.094 MB / 1.207 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/1.071, allocations: 3.055 MB / 1.21 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.071, allocations: 12 kB / 1.21 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/1.072, allocations: 159.7 kB / 1.21 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003269/1.072, allocations: 101.7 kB / 1.21 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/1.072, allocations: 31.98 kB / 1.21 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/1.075, allocations: 3.094 MB / 1.213 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.075, allocations: 8 kB / 1.213 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.077, allocations: 1.737 MB / 1.215 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/1.077, allocations: 299.9 kB / 1.215 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/1.078, allocations: 39.92 kB / 1.215 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/1.079, allocations: 46.72 kB / 1.215 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.079, allocations: 88.11 kB / 1.215 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/1.079, allocations: 39.98 kB / 1.216 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008654/1.08, allocations: 0.6994 MB / 1.216 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 3.938 kB / 1.216 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001124/1.081, allocations: 380 kB / 1.217 GB, free: 14.07 MB / 0.9825 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.0004995/1.081, allocations: 239.1 kB / 1.217 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.083, allocations: 0.9534 MB / 1.218 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.083, allocations: 4 kB / 1.218 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009166/1.084, allocations: 0.669 MB / 1.218 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.088, allocations: 0.9285 MB / 1.219 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/1.092, allocations: 2.809 MB / 1.222 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/1.093, allocations: 1.249 MB / 1.223 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001276/1.094, allocations: 339 kB / 1.224 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/1.094, allocations: 103.4 kB / 1.224 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/1.094, allocations: 4 kB / 1.224 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.5084/1.603, allocations: 28.36 MB / 1.251 GB, free: 274.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches