Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_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_9_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.0009554/0.0009554, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001082/0.001082, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.387 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.477/2.477, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004405, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8312, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2124/1.044, allocations: 173.4 MB / 1.124 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.056, allocations: 5.417 MB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/1.058, allocations: 35.75 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001826/1.06, allocations: 393.5 kB / 1.129 GB, free: 11.81 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004822/1.065, allocations: 1.227 MB / 1.131 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/1.068, allocations: 0.8916 MB / 1.132 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004631/1.073, allocations: 2.99 MB / 1.134 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.074, allocations: 0.6539 MB / 1.135 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/1.077, allocations: 0.8557 MB / 1.136 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/1.079, allocations: 0.7665 MB / 1.137 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002998/1.079, allocations: 40 kB / 1.137 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/1.082, allocations: 0.9198 MB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006242/1.083, allocations: 346.9 kB / 1.138 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/1.083, allocations: 229.2 kB / 1.138 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/1.086, allocations: 1.403 MB / 1.14 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.086, allocations: 7.938 kB / 1.14 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.065e-06/1.086, allocations: 0 / 1.14 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.02e-05/1.086, allocations: 4 kB / 1.14 GB, free: 1.453 MB / 0.8887 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.003004/1.089, allocations: 1.235 MB / 1.141 GB, free: 172 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.089, allocations: 12.03 kB / 1.141 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/1.092, allocations: 442.2 kB / 1.141 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/1.094, allocations: 0.7381 MB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/1.094, allocations: 117.9 kB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/1.094, allocations: 76 kB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/1.097, allocations: 1.006 MB / 1.143 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.097, allocations: 0 / 1.143 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.097, allocations: 32 kB / 1.143 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/1.097, allocations: 41.92 kB / 1.143 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/1.099, allocations: 0.9056 MB / 1.144 GB, free: 12.74 MB / 0.9044 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.007094/1.106, allocations: 3.533 MB / 1.147 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/1.108, allocations: 0.6515 MB / 1.148 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/1.109, allocations: 353.3 kB / 1.148 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/1.109, allocations: 101.4 kB / 1.149 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.109, allocations: 43.22 kB / 1.149 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/1.109, allocations: 0 / 1.149 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=41): time 0.008286/1.117, allocations: 2.533 MB / 1.151 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.117, allocations: 55.41 kB / 1.151 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.119, allocations: 0.7901 MB / 1.152 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/1.119, allocations: 33.7 kB / 1.152 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/1.119, allocations: 451.7 kB / 1.152 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.119, allocations: 141.9 kB / 1.153 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/1.119, allocations: 12 kB / 1.153 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.12, allocations: 326 kB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/1.12, allocations: 320.9 kB / 1.153 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/1.121, allocations: 432 kB / 1.154 GB, free: 2.637 MB / 0.9044 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.003722/1.125, allocations: 1.315 MB / 1.155 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.125, allocations: 0 / 1.155 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00314/1.128, allocations: 1.081 MB / 1.156 GB, free: 220 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.128, allocations: 8 kB / 1.156 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.128, allocations: 7.984 kB / 1.156 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/1.129, allocations: 196.8 kB / 1.156 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/1.13, allocations: 159.8 kB / 1.156 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/1.133, allocations: 2.107 MB / 1.158 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/1.135, allocations: 106.1 kB / 1.158 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/1.135, allocations: 23.98 kB / 1.158 GB, free: 13.48 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000576/1.135, allocations: 269.6 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/1.135, allocations: 86.97 kB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/1.136, allocations: 96.23 kB / 1.159 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.136, allocations: 7.953 kB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.136, allocations: 0 / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002755/1.138, allocations: 0.9498 MB / 1.16 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.144, allocations: 2.176 MB / 1.162 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.144, allocations: 4 kB / 1.162 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/1.145, allocations: 140.2 kB / 1.162 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005673/1.145, allocations: 196.7 kB / 1.162 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/1.145, allocations: 12 kB / 1.162 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/1.149, allocations: 2.069 MB / 1.164 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.149, allocations: 11.89 kB / 1.164 GB, free: 7.195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/1.153, allocations: 1.478 MB / 1.166 GB, free: 5.656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/1.154, allocations: 239.9 kB / 1.166 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.154, allocations: 15.98 kB / 1.166 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.155, allocations: 91.89 kB / 1.166 GB, free: 5.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.155, allocations: 43.84 kB / 1.166 GB, free: 5.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.155, allocations: 27.98 kB / 1.166 GB, free: 5.227 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009166/1.156, allocations: 0.5497 MB / 1.167 GB, free: 4.68 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.156, allocations: 0 / 1.167 GB, free: 4.68 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001141/1.157, allocations: 276 kB / 1.167 GB, free: 4.41 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005596/1.158, allocations: 209.4 kB / 1.167 GB, free: 4.207 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.16, allocations: 0.8288 MB / 1.168 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.16, allocations: 4 kB / 1.168 GB, free: 3.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.161, allocations: 475.4 kB / 1.168 GB, free: 2.887 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.164, allocations: 0.5257 MB / 1.169 GB, free: 2.371 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/1.169, allocations: 2.252 MB / 1.171 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.169, allocations: 1.044 MB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009503/1.17, allocations: 203.2 kB / 1.172 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/1.171, allocations: 63.44 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/1.171, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.03463/1.205, allocations: 19.09 MB / 1.191 GB, free: 11.91 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches