Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002966/0.002966, allocations: 217.3 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.908/2.908, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 70.52 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4254, allocations: 169.9 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2648/0.6902, allocations: 194.6 MB / 1.474 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.7024, allocations: 5.773 MB / 1.479 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.7047, allocations: 55.5 kB / 1.48 GB, free: 2.105 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.7072, allocations: 0.6098 MB / 1.48 GB, free: 1.492 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.7141, allocations: 1.946 MB / 1.482 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.7186, allocations: 1.244 MB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005766/0.7243, allocations: 3.022 MB / 1.486 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.7262, allocations: 0.7396 MB / 1.487 GB, free: 10.52 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.7293, allocations: 1.129 MB / 1.488 GB, free: 9.391 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.7327, allocations: 0.9778 MB / 1.489 GB, free: 8.414 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000616/0.7333, allocations: 111.9 kB / 1.489 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004623/0.7379, allocations: 1.547 MB / 1.491 GB, free: 6.754 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.739, allocations: 474.6 kB / 1.491 GB, free: 6.289 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.741, allocations: 0.6573 MB / 1.492 GB, free: 5.629 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.7467, allocations: 2.137 MB / 1.494 GB, free: 3.484 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.7467, allocations: 0 / 1.494 GB, free: 3.484 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7467, allocations: 8 kB / 1.494 GB, free: 3.477 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.84e-05/0.7468, allocations: 0 / 1.494 GB, free: 3.477 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004468/0.7512, allocations: 1.477 MB / 1.495 GB, free: 1.961 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.7513, allocations: 8.031 kB / 1.495 GB, free: 1.953 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.7537, allocations: 327 kB / 1.496 GB, free: 1.633 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.756, allocations: 0.7799 MB / 1.496 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.756, allocations: 62 kB / 1.496 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.7562, allocations: 84 kB / 1.496 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.7583, allocations: 0.9131 MB / 1.497 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.7583, allocations: 0 / 1.497 GB, free: 15.77 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7584, allocations: 40 kB / 1.497 GB, free: 15.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.7585, allocations: 30 kB / 1.497 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.7602, allocations: 0.8237 MB / 1.498 GB, free: 14.88 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.007293/0.7675, allocations: 3.471 MB / 1.502 GB, free: 11.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.7684, allocations: 480.4 kB / 1.502 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.7689, allocations: 283.2 kB / 1.502 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.7691, allocations: 24.41 kB / 1.502 GB, free: 10.4 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.7691, allocations: 47 kB / 1.502 GB, free: 10.35 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.7691, allocations: 0 / 1.502 GB, free: 10.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.004819/0.7739, allocations: 1.702 MB / 1.504 GB, free: 8.605 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.774, allocations: 55.84 kB / 1.504 GB, free: 8.539 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.7754, allocations: 0.8059 MB / 1.505 GB, free: 7.727 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/0.7755, allocations: 37.7 kB / 1.505 GB, free: 7.684 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.7759, allocations: 480.2 kB / 1.505 GB, free: 7.211 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.7762, allocations: 186.4 kB / 1.506 GB, free: 7.027 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.7764, allocations: 114.3 kB / 1.506 GB, free: 6.91 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7766, allocations: 333.9 kB / 1.506 GB, free: 6.578 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.777, allocations: 241.2 kB / 1.506 GB, free: 6.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.7776, allocations: 361.1 kB / 1.507 GB, free: 5.953 MB / 1.201 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.003991/0.7816, allocations: 1.45 MB / 1.508 GB, free: 4.473 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7816, allocations: 3.938 kB / 1.508 GB, free: 4.469 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001625/0.7832, allocations: 0.7874 MB / 1.509 GB, free: 3.672 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.7832, allocations: 12.34 kB / 1.509 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7832, allocations: 4 kB / 1.509 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.7836, allocations: 89.66 kB / 1.509 GB, free: 3.562 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.7842, allocations: 143.8 kB / 1.509 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/0.7881, allocations: 3.092 MB / 1.512 GB, free: 100 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7891, allocations: 35.88 kB / 1.512 GB, free: 64 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.7892, allocations: 20 kB / 1.512 GB, free: 44 kB / 1.201 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 (67): * Single equations (assignments): 65 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007518/0.79, allocations: 301.6 kB / 1.512 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.7903, allocations: 95.44 kB / 1.512 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.7906, allocations: 100.7 kB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7907, allocations: 8 kB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7907, allocations: 0 / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.792, allocations: 0.8465 MB / 1.513 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.7957, allocations: 1.763 MB / 1.515 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.7957, allocations: 4 kB / 1.515 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.7964, allocations: 127.8 kB / 1.515 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.7966, allocations: 69.16 kB / 1.515 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.7967, allocations: 20 kB / 1.515 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.7987, allocations: 1.678 MB / 1.517 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.7987, allocations: 4 kB / 1.517 GB, free: 10.72 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.8006, allocations: 1.074 MB / 1.518 GB, free: 9.59 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.8012, allocations: 163.3 kB / 1.518 GB, free: 9.43 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.8014, allocations: 15.98 kB / 1.518 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.8023, allocations: 27.97 kB / 1.518 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.8024, allocations: 56.05 kB / 1.518 GB, free: 9.332 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.8025, allocations: 31.98 kB / 1.518 GB, free: 9.301 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009407/0.8034, allocations: 0.5615 MB / 1.519 GB, free: 8.746 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.8034, allocations: 0 / 1.519 GB, free: 8.746 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001237/0.8047, allocations: 276 kB / 1.519 GB, free: 8.477 MB / 1.217 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 (45): * Single equations (assignments): 44 * 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.0004737/0.8051, allocations: 183.5 kB / 1.519 GB, free: 8.285 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.8068, allocations: 0.7767 MB / 1.52 GB, free: 7.477 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8068, allocations: 8 kB / 1.52 GB, free: 7.469 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.8075, allocations: 399.1 kB / 1.52 GB, free: 7.066 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.8105, allocations: 0.6076 MB / 1.521 GB, free: 6.473 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.8146, allocations: 1.85 MB / 1.523 GB, free: 4.551 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.8156, allocations: 1.084 MB / 1.524 GB, free: 3.438 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000925/0.8165, allocations: 207.7 kB / 1.524 GB, free: 3.23 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.8168, allocations: 67.44 kB / 1.524 GB, free: 3.164 MB / 1.217 GB Notification: Performance of SimCode: time 1.152e-06/0.8168, allocations: 0 / 1.524 GB, free: 3.164 MB / 1.217 GB Notification: Performance of Templates: time 0.04462/0.8614, allocations: 21.41 MB / 1.545 GB, free: 14.04 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.728491971734911]