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.001695/0.001695, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001422/0.001422, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 61.59 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9233/1.261, allocations: 209.9 MB / 1.156 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01726/1.278, allocations: 9.852 MB / 1.166 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/1.283, allocations: 61.72 kB / 1.166 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/1.286, allocations: 0.7686 MB / 1.167 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.296, allocations: 2.808 MB / 1.169 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005597/1.302, allocations: 1.385 MB / 1.171 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008931/1.311, allocations: 4.07 MB / 1.175 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/1.314, allocations: 1.335 MB / 1.176 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/1.319, allocations: 1.36 MB / 1.177 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004321/1.323, allocations: 1.229 MB / 1.178 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009652/1.324, allocations: 149.2 kB / 1.179 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009146/1.333, allocations: 2.381 MB / 1.181 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002523/1.336, allocations: 0.608 MB / 1.181 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004655/1.34, allocations: 0.8557 MB / 1.182 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.351, allocations: 3.004 MB / 1.185 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.351, allocations: 3.938 kB / 1.185 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/1.351, allocations: 4 kB / 1.185 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001111/1.351, allocations: 2.25 kB / 1.185 GB, free: 8.969 MB / 0.8731 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.006033/1.357, allocations: 1.888 MB / 1.187 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.357, allocations: 8.062 kB / 1.187 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/1.361, allocations: 490.1 kB / 1.188 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/1.363, allocations: 1.13 MB / 1.189 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/1.364, allocations: 81.69 kB / 1.189 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/1.364, allocations: 114.1 kB / 1.189 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/1.366, allocations: 1.156 MB / 1.19 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.366, allocations: 4 kB / 1.19 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.366, allocations: 46.06 kB / 1.19 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/1.366, allocations: 47.41 kB / 1.19 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.368, allocations: 1.072 MB / 1.191 GB, free: 5.23 MB / 0.8731 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.006804/1.375, allocations: 4.186 MB / 1.195 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/1.376, allocations: 0.7938 MB / 1.196 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/1.377, allocations: 485.8 kB / 1.196 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/1.377, allocations: 296.4 kB / 1.197 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.377, allocations: 54.06 kB / 1.197 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/1.377, allocations: 0 / 1.197 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89): time 0.005907/1.383, allocations: 2.853 MB / 1.2 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.383, allocations: 60.16 kB / 1.2 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.384, allocations: 0.9729 MB / 1.201 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/1.384, allocations: 42.98 kB / 1.201 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/1.385, allocations: 0.5419 MB / 1.201 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/1.385, allocations: 310.3 kB / 1.201 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/1.385, allocations: 161 kB / 1.202 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.386, allocations: 344 kB / 1.202 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/1.386, allocations: 335.7 kB / 1.202 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/1.387, allocations: 490.8 kB / 1.203 GB, free: 12.88 MB / 0.8887 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.006194/1.393, allocations: 3.04 MB / 1.206 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.393, allocations: 4 kB / 1.206 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001922/1.395, allocations: 1.006 MB / 1.207 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.395, allocations: 17.48 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.395, allocations: 2.25 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.395, allocations: 7.438 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/1.396, allocations: 183.2 kB / 1.207 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.396, allocations: 7.375 kB / 1.207 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/1.397, allocations: 25.53 kB / 1.207 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/1.397, allocations: 33.67 kB / 1.207 GB, free: 10.57 MB / 0.8887 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.0007524/1.398, allocations: 374.2 kB / 1.207 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/1.398, allocations: 138.8 kB / 1.207 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/1.398, allocations: 143.5 kB / 1.208 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.398, allocations: 10.5 kB / 1.208 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/1.398, allocations: 0 / 1.208 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001596/1.4, allocations: 1.097 MB / 1.209 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/1.405, allocations: 3.044 MB / 1.212 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.405, allocations: 8.156 kB / 1.212 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/1.406, allocations: 171.8 kB / 1.212 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/1.407, allocations: 97.58 kB / 1.212 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/1.407, allocations: 28.91 kB / 1.212 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/1.409, allocations: 3.093 MB / 1.215 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.409, allocations: 14.06 kB / 1.215 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/1.412, allocations: 1.735 MB / 1.217 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/1.413, allocations: 301.5 kB / 1.217 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.413, allocations: 37.64 kB / 1.217 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/1.414, allocations: 45.08 kB / 1.217 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.414, allocations: 87.36 kB / 1.217 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/1.415, allocations: 51.22 kB / 1.217 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009483/1.415, allocations: 0.6951 MB / 1.218 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/1.415, allocations: 0 / 1.218 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001126/1.417, allocations: 375.3 kB / 1.218 GB, free: 2.094 MB / 0.8887 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.0005491/1.417, allocations: 242.7 kB / 1.218 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001383/1.419, allocations: 0.8418 MB / 1.219 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.419, allocations: 2.688 kB / 1.219 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/1.419, allocations: 0.6759 MB / 1.22 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/1.423, allocations: 0.911 MB / 1.221 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/1.427, allocations: 2.778 MB / 1.224 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/1.428, allocations: 1.255 MB / 1.225 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001153/1.429, allocations: 336.9 kB / 1.225 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/1.429, allocations: 103.4 kB / 1.225 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/1.429, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.04664/1.476, allocations: 28.33 MB / 1.253 GB, free: 1.613 MB / 0.92 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 -s cvode -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