Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00159/0.00159, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001758/0.001758, allocations: 208.8 kB / 22.99 MB, free: 4.984 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.092/3.092, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_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_12_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.00194/0.00194, allocations: 62.91 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2105/0.5157, allocations: 168.6 MB / 1.492 GB, free: 7.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.5263, allocations: 5.458 MB / 1.497 GB, free: 2.332 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5274, allocations: 55.56 kB / 1.497 GB, free: 2.277 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.529, allocations: 0.5591 MB / 1.498 GB, free: 1.715 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.5335, allocations: 1.936 MB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.5366, allocations: 1.212 MB / 1.501 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003949/0.5406, allocations: 3.029 MB / 1.504 GB, free: 11.53 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.5416, allocations: 0.7358 MB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.544, allocations: 1.331 MB / 1.506 GB, free: 9.445 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.5462, allocations: 0.9606 MB / 1.507 GB, free: 8.484 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.5464, allocations: 108 kB / 1.507 GB, free: 8.379 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.5488, allocations: 1.184 MB / 1.508 GB, free: 7.191 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.5494, allocations: 486.5 kB / 1.508 GB, free: 6.715 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006983/0.5501, allocations: 0.5408 MB / 1.509 GB, free: 6.172 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.5531, allocations: 2.118 MB / 1.511 GB, free: 4.047 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5531, allocations: 0 / 1.511 GB, free: 4.047 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5531, allocations: 0 / 1.511 GB, free: 4.047 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.5531, allocations: 4 kB / 1.511 GB, free: 4.043 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002715/0.5558, allocations: 1.469 MB / 1.512 GB, free: 2.535 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5559, allocations: 8.031 kB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.558, allocations: 330.9 kB / 1.513 GB, free: 2.203 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.5597, allocations: 0.78 MB / 1.513 GB, free: 1.395 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.5597, allocations: 65.94 kB / 1.514 GB, free: 1.332 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5599, allocations: 84 kB / 1.514 GB, free: 1.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.5619, allocations: 1.365 MB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.5619, allocations: 0 / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-05/0.562, allocations: 36 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.5621, allocations: 37.98 kB / 1.515 GB, free: 15.69 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.5636, allocations: 0.812 MB / 1.516 GB, free: 14.88 MB / 1.217 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.005223/0.5688, allocations: 2.39 MB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.5698, allocations: 476.4 kB / 1.519 GB, free: 11.97 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.5703, allocations: 278 kB / 1.519 GB, free: 11.69 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.5705, allocations: 32.36 kB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.5705, allocations: 43 kB / 1.519 GB, free: 11.61 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.5705, allocations: 0 / 1.519 GB, free: 11.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004206/0.5747, allocations: 1.695 MB / 1.521 GB, free: 9.879 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.5748, allocations: 55.84 kB / 1.521 GB, free: 9.809 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.5756, allocations: 0.6449 MB / 1.521 GB, free: 9.156 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.5757, allocations: 37.7 kB / 1.521 GB, free: 9.113 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.5761, allocations: 496 kB / 1.522 GB, free: 8.621 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.5763, allocations: 178.5 kB / 1.522 GB, free: 8.445 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.5765, allocations: 118.2 kB / 1.522 GB, free: 8.324 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5767, allocations: 382.7 kB / 1.522 GB, free: 7.941 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.5771, allocations: 245.2 kB / 1.523 GB, free: 7.703 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.5778, allocations: 408.5 kB / 1.523 GB, free: 7.254 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.00411/0.5819, allocations: 1.446 MB / 1.524 GB, free: 5.773 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.5819, allocations: 4 kB / 1.524 GB, free: 5.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001542/0.5834, allocations: 0.7718 MB / 1.525 GB, free: 4.988 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5834, allocations: 9.25 kB / 1.525 GB, free: 4.98 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5834, allocations: 3.984 kB / 1.525 GB, free: 4.977 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.5838, allocations: 94 kB / 1.525 GB, free: 4.879 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.5844, allocations: 143.8 kB / 1.525 GB, free: 4.738 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.5878, allocations: 3.038 MB / 1.528 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.5885, allocations: 31.94 kB / 1.528 GB, free: 1.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.5885, allocations: 23.98 kB / 1.528 GB, free: 1.441 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 (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.0004626/0.589, allocations: 314.9 kB / 1.529 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.5892, allocations: 87.58 kB / 1.529 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.5893, allocations: 87.36 kB / 1.529 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5893, allocations: 4 kB / 1.529 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5893, allocations: 0 / 1.529 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/0.5905, allocations: 0.8349 MB / 1.53 GB, free: 20 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.5935, allocations: 1.537 MB / 1.531 GB, free: 14.4 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5935, allocations: 7.938 kB / 1.531 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.5942, allocations: 124.2 kB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.5944, allocations: 76.73 kB / 1.531 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.5945, allocations: 16 kB / 1.531 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.5963, allocations: 1.652 MB / 1.533 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5963, allocations: 4 kB / 1.533 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.5981, allocations: 1.066 MB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.5985, allocations: 151.4 kB / 1.534 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5986, allocations: 15.98 kB / 1.534 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.5993, allocations: 24.59 kB / 1.534 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5994, allocations: 51.86 kB / 1.534 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.5994, allocations: 31.98 kB / 1.534 GB, free: 11.03 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005797/0.6, allocations: 455 kB / 1.535 GB, free: 10.59 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6, allocations: 0 / 1.535 GB, free: 10.59 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000882/0.6009, allocations: 283.9 kB / 1.535 GB, free: 10.32 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 (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.0003379/0.6012, allocations: 181.4 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.6027, allocations: 0.7721 MB / 1.536 GB, free: 9.324 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6027, allocations: 4 kB / 1.536 GB, free: 9.32 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.6033, allocations: 407.2 kB / 1.536 GB, free: 8.91 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.6055, allocations: 0.5013 MB / 1.537 GB, free: 8.422 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.6084, allocations: 1.806 MB / 1.539 GB, free: 6.539 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.609, allocations: 0.4884 MB / 1.539 GB, free: 6.02 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006318/0.6096, allocations: 186.3 kB / 1.539 GB, free: 5.832 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6098, allocations: 63.42 kB / 1.539 GB, free: 5.77 MB / 1.232 GB Notification: Performance of SimCode: time 3.1e-07/0.6098, allocations: 0 / 1.539 GB, free: 5.77 MB / 1.232 GB Notification: Performance of Templates: time 0.03318/0.643, allocations: 20.04 MB / 1.559 GB, free: 2.176 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.280358001997229]