Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001416/0.001416, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001505/0.001505, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [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.002141/0.002141, allocations: 71.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.148, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2422/1.39, allocations: 168.6 MB / 1.319 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01166/1.401, allocations: 5.447 MB / 1.324 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/1.403, allocations: 58.41 kB / 1.324 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/1.405, allocations: 0.5546 MB / 1.324 GB, free: 9.562 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/1.411, allocations: 1.697 MB / 1.326 GB, free: 8.254 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/1.414, allocations: 1.236 MB / 1.327 GB, free: 7.117 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004204/1.418, allocations: 2.601 MB / 1.33 GB, free: 4.512 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.42, allocations: 0.676 MB / 1.331 GB, free: 3.82 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/1.423, allocations: 1.281 MB / 1.332 GB, free: 2.535 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/1.425, allocations: 0.8248 MB / 1.333 GB, free: 1.715 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/1.425, allocations: 96 kB / 1.333 GB, free: 1.621 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/1.428, allocations: 1.266 MB / 1.334 GB, free: 360 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/1.428, allocations: 422.7 kB / 1.334 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007051/1.429, allocations: 497.9 kB / 1.335 GB, free: 15.45 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/1.433, allocations: 1.993 MB / 1.337 GB, free: 13.45 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.433, allocations: 0 / 1.337 GB, free: 13.45 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.144e-06/1.433, allocations: 0 / 1.337 GB, free: 13.45 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.433, allocations: 4 kB / 1.337 GB, free: 13.45 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002649/1.435, allocations: 1.388 MB / 1.338 GB, free: 12.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.435, allocations: 15.97 kB / 1.338 GB, free: 12.01 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/1.438, allocations: 418.9 kB / 1.339 GB, free: 11.6 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/1.44, allocations: 0.7362 MB / 1.339 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/1.44, allocations: 61.98 kB / 1.339 GB, free: 10.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.44, allocations: 72 kB / 1.339 GB, free: 10.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/1.442, allocations: 1.367 MB / 1.341 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.442, allocations: 0 / 1.341 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/1.442, allocations: 32 kB / 1.341 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/1.442, allocations: 26 kB / 1.341 GB, free: 9.168 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/1.444, allocations: 0.8704 MB / 1.342 GB, free: 8.293 MB / 1.186 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.005967/1.45, allocations: 2.623 MB / 1.344 GB, free: 5.609 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/1.452, allocations: 0.5891 MB / 1.345 GB, free: 5.012 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/1.453, allocations: 317.2 kB / 1.345 GB, free: 4.699 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.453, allocations: 20.31 kB / 1.345 GB, free: 4.68 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.453, allocations: 43.16 kB / 1.345 GB, free: 4.629 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/1.453, allocations: 0 / 1.345 GB, free: 4.629 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.008354/1.462, allocations: 2.241 MB / 1.347 GB, free: 2.348 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.462, allocations: 59.39 kB / 1.347 GB, free: 2.277 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/1.462, allocations: 0.6291 MB / 1.348 GB, free: 1.641 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/1.462, allocations: 33.7 kB / 1.348 GB, free: 1.602 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/1.463, allocations: 468 kB / 1.348 GB, free: 1.141 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/1.463, allocations: 154.7 kB / 1.349 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.463, allocations: 106.2 kB / 1.349 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.463, allocations: 378.8 kB / 1.349 GB, free: 0.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/1.464, allocations: 305.1 kB / 1.349 GB, free: 208 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/1.465, allocations: 460.5 kB / 1.35 GB, free: 15.7 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.005567/1.471, allocations: 1.798 MB / 1.352 GB, free: 13.87 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.471, allocations: 0 / 1.352 GB, free: 13.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003413/1.474, allocations: 1.025 MB / 1.353 GB, free: 12.84 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.474, allocations: 8.094 kB / 1.353 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.474, allocations: 7.938 kB / 1.353 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/1.475, allocations: 192.7 kB / 1.353 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/1.476, allocations: 147.8 kB / 1.353 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/1.48, allocations: 2.081 MB / 1.355 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.481, allocations: 52.02 kB / 1.355 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/1.481, allocations: 23.98 kB / 1.355 GB, free: 10.23 MB / 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 (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.0006246/1.482, allocations: 275 kB / 1.355 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.482, allocations: 79.53 kB / 1.355 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/1.482, allocations: 90.78 kB / 1.355 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.482, allocations: 4 kB / 1.355 GB, free: 9.781 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.482, allocations: 0 / 1.355 GB, free: 9.781 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/1.485, allocations: 0.8949 MB / 1.356 GB, free: 8.852 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/1.491, allocations: 1.86 MB / 1.358 GB, free: 6.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.491, allocations: 32 / 1.358 GB, free: 6.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.491, allocations: 131.8 kB / 1.358 GB, free: 6.781 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000618/1.492, allocations: 192.7 kB / 1.358 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/1.492, allocations: 12 kB / 1.358 GB, free: 6.578 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/1.496, allocations: 2.042 MB / 1.36 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.496, allocations: 0 / 1.36 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/1.5, allocations: 1.414 MB / 1.362 GB, free: 2.953 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.501, allocations: 147.4 kB / 1.362 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/1.501, allocations: 12 kB / 1.362 GB, free: 2.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/1.502, allocations: 60 kB / 1.362 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.502, allocations: 43.81 kB / 1.362 GB, free: 2.695 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/1.502, allocations: 23.98 kB / 1.362 GB, free: 2.672 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006765/1.503, allocations: 443 kB / 1.362 GB, free: 2.246 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.503, allocations: 0 / 1.362 GB, free: 2.246 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001047/1.504, allocations: 267.9 kB / 1.363 GB, free: 1.984 MB / 1.201 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.0004356/1.504, allocations: 190.2 kB / 1.363 GB, free: 1.793 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.506, allocations: 0.7862 MB / 1.364 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.506, allocations: 0 / 1.364 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.507, allocations: 452.1 kB / 1.364 GB, free: 0.543 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.51, allocations: 434.5 kB / 1.365 GB, free: 128 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/1.515, allocations: 1.912 MB / 1.366 GB, free: 14.14 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/1.515, allocations: 449.9 kB / 1.367 GB, free: 13.68 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007752/1.516, allocations: 181.8 kB / 1.367 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/1.516, allocations: 60.5 kB / 1.367 GB, free: 13.44 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/1.516, allocations: 0 / 1.367 GB, free: 13.44 MB / 1.217 GB Notification: Performance of Templates: time 0.03484/1.551, allocations: 17.91 MB / 1.385 GB, free: 11.95 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.117963418015279]