Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001473/0.001473, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.546/1.546, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.902/2.902, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8451, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2331/1.078, allocations: 188.4 MB / 1.201 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.089, allocations: 5.792 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.091, allocations: 39.75 kB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.093, allocations: 0.4935 MB / 1.207 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004481/1.097, allocations: 1.532 MB / 1.208 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/1.101, allocations: 1.096 MB / 1.209 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005222/1.106, allocations: 3.544 MB / 1.213 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/1.108, allocations: 0.7405 MB / 1.214 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/1.111, allocations: 0.9102 MB / 1.214 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/1.113, allocations: 0.8364 MB / 1.215 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/1.113, allocations: 48 kB / 1.215 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/1.118, allocations: 1.726 MB / 1.217 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007415/1.119, allocations: 366.8 kB / 1.217 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.12, allocations: 0.5326 MB / 1.218 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/1.124, allocations: 2.045 MB / 1.22 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.124, allocations: 4 kB / 1.22 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/1.124, allocations: 0 / 1.22 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.907e-05/1.124, allocations: 0 / 1.22 GB, free: 1.969 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003081/1.127, allocations: 1.437 MB / 1.221 GB, free: 492 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.127, allocations: 15.92 kB / 1.221 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/1.13, allocations: 418.3 kB / 1.222 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.132, allocations: 0.7687 MB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/1.132, allocations: 109.9 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.132, allocations: 72 kB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.134, allocations: 0.9905 MB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.134, allocations: 7.984 kB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/1.134, allocations: 32 kB / 1.224 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/1.134, allocations: 30 kB / 1.224 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/1.137, allocations: 0.8861 MB / 1.224 GB, free: 13.1 MB / 0.9825 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.00745/1.144, allocations: 3.513 MB / 1.228 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/1.146, allocations: 0.6203 MB / 1.228 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/1.147, allocations: 333.3 kB / 1.229 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/1.147, allocations: 105.8 kB / 1.229 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/1.147, allocations: 46.48 kB / 1.229 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 3.106e-06/1.147, allocations: 0 / 1.229 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.009175/1.156, allocations: 2.41 MB / 1.231 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.156, allocations: 59.41 kB / 1.231 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.158, allocations: 0.794 MB / 1.232 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/1.158, allocations: 37.7 kB / 1.232 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/1.158, allocations: 451.6 kB / 1.233 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.159, allocations: 145.9 kB / 1.233 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.159, allocations: 106.1 kB / 1.233 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.159, allocations: 330 kB / 1.233 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/1.16, allocations: 304.9 kB / 1.233 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.161, allocations: 416.1 kB / 1.234 GB, free: 3.094 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/1.167, allocations: 1.902 MB / 1.236 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.167, allocations: 0 / 1.236 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00365/1.171, allocations: 1.042 MB / 1.237 GB, free: 84 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.171, allocations: 8.781 kB / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.171, allocations: 4 kB / 1.237 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000651/1.171, allocations: 192.8 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/1.172, allocations: 147.8 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/1.177, allocations: 2.087 MB / 1.239 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.178, allocations: 76.02 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/1.178, allocations: 24 kB / 1.239 GB, free: 13.41 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005283/1.178, allocations: 285.9 kB / 1.239 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/1.179, allocations: 90.97 kB / 1.24 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/1.179, allocations: 104.1 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.179, allocations: 4 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.179, allocations: 0 / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003108/1.182, allocations: 0.9025 MB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/1.188, allocations: 2.114 MB / 1.243 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.188, allocations: 4 kB / 1.243 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/1.189, allocations: 128.2 kB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/1.189, allocations: 184.7 kB / 1.243 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/1.189, allocations: 23.92 kB / 1.243 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/1.193, allocations: 2.026 MB / 1.245 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.193, allocations: 7.969 kB / 1.245 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/1.198, allocations: 1.44 MB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/1.199, allocations: 236 kB / 1.247 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.199, allocations: 12 kB / 1.247 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.2, allocations: 85.58 kB / 1.247 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.2, allocations: 43.83 kB / 1.247 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/1.2, allocations: 27.98 kB / 1.247 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000977/1.201, allocations: 0.5576 MB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.201, allocations: 0 / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001316/1.203, allocations: 272 kB / 1.248 GB, free: 4.535 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007012/1.203, allocations: 207.1 kB / 1.248 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002376/1.206, allocations: 0.8093 MB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.206, allocations: 0 / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.207, allocations: 463.8 kB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.21, allocations: 0.5296 MB / 1.249 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/1.218, allocations: 2.242 MB / 1.252 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5552/1.773, allocations: 1.037 MB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001105/1.774, allocations: 210 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/1.774, allocations: 65.05 kB / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/1.774, allocations: 0 / 1.253 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04142/1.816, allocations: 19.74 MB / 1.272 GB, free: 227.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches