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.000843/0.0008483, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005661/0.005661, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.442/2.442, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005148, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6774, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2213/0.8988, allocations: 204.9 MB / 1.155 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.914, allocations: 9.839 MB / 1.165 GB, free: 7.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.9164, allocations: 55.62 kB / 1.165 GB, free: 7.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.9184, allocations: 0.6606 MB / 1.165 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007047/0.9254, allocations: 2.646 MB / 1.168 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.9289, allocations: 1.251 MB / 1.169 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006816/0.9358, allocations: 5.651 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.9377, allocations: 1.087 MB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.9403, allocations: 1.128 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.9432, allocations: 1.229 MB / 1.178 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.9435, allocations: 56 kB / 1.178 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005966/0.9495, allocations: 2.743 MB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007371/0.9503, allocations: 0.518 MB / 1.181 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.9515, allocations: 0.7635 MB / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00754/0.9591, allocations: 3.049 MB / 1.185 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.9591, allocations: 0 / 1.185 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9591, allocations: 4 kB / 1.185 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.046e-05/0.9592, allocations: 0 / 1.185 GB, free: 2.973 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.003574/0.9627, allocations: 1.585 MB / 1.187 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.9628, allocations: 12.03 kB / 1.187 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.9663, allocations: 493.6 kB / 1.187 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.9684, allocations: 1.058 MB / 1.188 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/0.9685, allocations: 82.14 kB / 1.188 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.9687, allocations: 112 kB / 1.188 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.9708, allocations: 1.157 MB / 1.189 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.9709, allocations: 7.938 kB / 1.189 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.971, allocations: 44 kB / 1.189 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.9711, allocations: 46.12 kB / 1.19 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.9729, allocations: 1.07 MB / 1.191 GB, free: 13.18 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.006104/0.979, allocations: 4.223 MB / 1.195 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.9803, allocations: 0.7861 MB / 1.195 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/0.981, allocations: 482.2 kB / 1.196 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.9814, allocations: 292.3 kB / 1.196 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.9814, allocations: 47.56 kB / 1.196 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.905e-06/0.9814, allocations: 0 / 1.196 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005651/0.9871, allocations: 2.852 MB / 1.199 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.9872, allocations: 64.34 kB / 1.199 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.9884, allocations: 0.9715 MB / 1.2 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.9885, allocations: 49.7 kB / 1.2 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.9889, allocations: 0.5396 MB / 1.201 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.9892, allocations: 319.3 kB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.9893, allocations: 73.67 kB / 1.201 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9894, allocations: 342 kB / 1.201 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.9899, allocations: 337.8 kB / 1.202 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.9906, allocations: 485.9 kB / 1.202 GB, free: 0.8281 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.006193/0.9968, allocations: 3.055 MB / 1.205 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.9968, allocations: 4 kB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001666/0.9985, allocations: 1.015 MB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9985, allocations: 4 kB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9985, allocations: 4 kB / 1.206 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.9985, allocations: 8 kB / 1.206 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.9993, allocations: 183.7 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.9993, allocations: 7.938 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.001, allocations: 84.06 kB / 1.206 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/1.001, allocations: 32 kB / 1.206 GB, free: 12.34 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 sytem: 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.0006389/1.001, allocations: 377.5 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.002, allocations: 126.5 kB / 1.207 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/1.002, allocations: 148.3 kB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.002, allocations: 8 kB / 1.207 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.002, allocations: 8 kB / 1.207 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00155/1.004, allocations: 1.094 MB / 1.208 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004935/1.008, allocations: 3.051 MB / 1.211 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.008, allocations: 8 kB / 1.211 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/1.009, allocations: 163.7 kB / 1.211 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/1.01, allocations: 98.44 kB / 1.211 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/1.01, allocations: 28 kB / 1.211 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.012, allocations: 2.865 MB / 1.214 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/1.012, allocations: 24.05 kB / 1.214 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/1.015, allocations: 1.729 MB / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/1.015, allocations: 311.5 kB / 1.216 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.016, allocations: 32 kB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.017, allocations: 74.7 kB / 1.216 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.017, allocations: 88.11 kB / 1.216 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/1.017, allocations: 47.97 kB / 1.216 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001002/1.018, allocations: 0.6956 MB / 1.217 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.018, allocations: 0 / 1.217 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001331/1.019, allocations: 380 kB / 1.217 GB, free: 344 kB / 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.0007919/1.02, allocations: 265.1 kB / 1.218 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001665/1.022, allocations: 0.824 MB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.022, allocations: 4 kB / 1.219 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.023, allocations: 0.6726 MB / 1.219 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006016/1.029, allocations: 0.882 MB / 1.22 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/1.035, allocations: 3.383 MB / 1.223 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.036, allocations: 1.253 MB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0016/1.037, allocations: 335 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/1.038, allocations: 103.4 kB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/1.038, allocations: 0 / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.5013/1.539, allocations: 27.02 MB / 1.251 GB, free: 281.9 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