Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 489.7 MB / 0.7761 GB, free: 33.82 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 64.62 kB / 1.127 GB, free: 36.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3279, allocations: 172.1 MB / 1.295 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.222/0.5499, allocations: 191.3 MB / 1.482 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.5603, allocations: 5.76 MB / 1.487 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.5616, allocations: 43.75 kB / 1.487 GB, free: 5.855 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.5632, allocations: 0.5981 MB / 1.488 GB, free: 5.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.5676, allocations: 1.695 MB / 1.49 GB, free: 3.555 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.5711, allocations: 1.245 MB / 1.491 GB, free: 2.316 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.5748, allocations: 2.57 MB / 1.493 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.5761, allocations: 0.7457 MB / 1.494 GB, free: 14.98 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.5794, allocations: 1.257 MB / 1.495 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.5816, allocations: 0.8582 MB / 1.496 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.5818, allocations: 96 kB / 1.496 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.5856, allocations: 1.598 MB / 1.498 GB, free: 11.16 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.5861, allocations: 418.7 kB / 1.498 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008668/0.587, allocations: 0.5949 MB / 1.499 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.5906, allocations: 2.028 MB / 1.501 GB, free: 8.121 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5906, allocations: 0 / 1.501 GB, free: 8.121 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5906, allocations: 3.938 kB / 1.501 GB, free: 8.117 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.5906, allocations: 0 / 1.501 GB, free: 8.117 MB / 1.201 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.002738/0.5934, allocations: 1.471 MB / 1.502 GB, free: 6.594 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5934, allocations: 8.031 kB / 1.502 GB, free: 6.586 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.5962, allocations: 426.9 kB / 1.503 GB, free: 6.168 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.5978, allocations: 0.7968 MB / 1.503 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.5978, allocations: 58 kB / 1.503 GB, free: 5.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.598, allocations: 72 kB / 1.504 GB, free: 5.199 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.6, allocations: 0.9866 MB / 1.504 GB, free: 4.191 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6, allocations: 0 / 1.504 GB, free: 4.191 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.6001, allocations: 36 kB / 1.505 GB, free: 4.156 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.6001, allocations: 30 kB / 1.505 GB, free: 4.129 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.6021, allocations: 0.8704 MB / 1.505 GB, free: 3.254 MB / 1.201 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.006597/0.6087, allocations: 3.49 MB / 1.509 GB, free: 15.58 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.6104, allocations: 0.5852 MB / 1.509 GB, free: 14.99 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.6112, allocations: 322.4 kB / 1.51 GB, free: 14.67 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.6114, allocations: 109.3 kB / 1.51 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.6114, allocations: 43.2 kB / 1.51 GB, free: 14.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.6114, allocations: 0 / 1.51 GB, free: 14.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.0082/0.6196, allocations: 2.402 MB / 1.512 GB, free: 12.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.6197, allocations: 55.41 kB / 1.512 GB, free: 11.95 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6207, allocations: 0.7979 MB / 1.513 GB, free: 11.15 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.6208, allocations: 37.7 kB / 1.513 GB, free: 11.11 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.6212, allocations: 452.5 kB / 1.513 GB, free: 10.66 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.6213, allocations: 162.7 kB / 1.514 GB, free: 10.5 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.6215, allocations: 102.2 kB / 1.514 GB, free: 10.39 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6217, allocations: 326 kB / 1.514 GB, free: 10.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/0.6225, allocations: 300.9 kB / 1.514 GB, free: 9.773 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/0.6233, allocations: 412.1 kB / 1.515 GB, free: 9.336 MB / 1.217 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.005529/0.6289, allocations: 1.867 MB / 1.517 GB, free: 7.41 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6289, allocations: 0 / 1.517 GB, free: 7.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003542/0.6324, allocations: 1.043 MB / 1.518 GB, free: 6.359 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6324, allocations: 4 kB / 1.518 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6325, allocations: 11.94 kB / 1.518 GB, free: 6.344 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.6331, allocations: 192.8 kB / 1.518 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.6338, allocations: 143.8 kB / 1.518 GB, free: 6.012 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.6382, allocations: 2.232 MB / 1.52 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.6392, allocations: 52.02 kB / 1.52 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.6392, allocations: 20.19 kB / 1.52 GB, free: 3.566 MB / 1.217 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.0005461/0.6398, allocations: 270.2 kB / 1.52 GB, free: 3.293 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6399, allocations: 107.4 kB / 1.521 GB, free: 3.188 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.6401, allocations: 92.25 kB / 1.521 GB, free: 3.098 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6401, allocations: 4 kB / 1.521 GB, free: 3.094 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6401, allocations: 3.984 kB / 1.521 GB, free: 3.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002853/0.643, allocations: 0.8871 MB / 1.521 GB, free: 2.168 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005512/0.6485, allocations: 2.102 MB / 1.524 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6485, allocations: 4 kB / 1.524 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.6492, allocations: 123.8 kB / 1.524 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005773/0.6498, allocations: 188.7 kB / 1.524 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.6498, allocations: 16 kB / 1.524 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.6536, allocations: 2.199 MB / 1.526 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6536, allocations: 4 kB / 1.526 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.6577, allocations: 1.425 MB / 1.527 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/0.6583, allocations: 244.4 kB / 1.528 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.6585, allocations: 16 kB / 1.528 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.6594, allocations: 63.22 kB / 1.528 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.6595, allocations: 39.89 kB / 1.528 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.6596, allocations: 27.98 kB / 1.528 GB, free: 11.41 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009133/0.6605, allocations: 0.5576 MB / 1.528 GB, free: 10.86 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6605, allocations: 0 / 1.528 GB, free: 10.86 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001057/0.6616, allocations: 275.9 kB / 1.529 GB, free: 10.59 MB / 1.232 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.0005777/0.6621, allocations: 220.4 kB / 1.529 GB, free: 10.38 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.6644, allocations: 0.774 MB / 1.53 GB, free: 9.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6644, allocations: 4 kB / 1.53 GB, free: 9.586 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6654, allocations: 447.6 kB / 1.53 GB, free: 9.137 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.668, allocations: 0.5426 MB / 1.531 GB, free: 8.598 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.673, allocations: 1.978 MB / 1.532 GB, free: 6.539 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/0.6739, allocations: 1.04 MB / 1.533 GB, free: 5.473 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.6742, allocations: 67.44 kB / 1.534 GB, free: 5.41 MB / 1.232 GB Notification: Performance of SimCode: time 5.81e-07/0.6742, allocations: 0 / 1.534 GB, free: 5.41 MB / 1.232 GB Notification: Performance of Templates: time 0.03054/0.7047, allocations: 19.06 MB / 1.552 GB, free: 2.473 MB / 1.248 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches