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.001817/0.001817, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002084/0.002084, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.126/3.126, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 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.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.001988/0.001988, allocations: 65.81 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2084/0.5383, allocations: 168.6 MB / 1.492 GB, free: 7.754 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009981/0.5483, allocations: 5.457 MB / 1.497 GB, free: 2.285 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.5496, allocations: 55.5 kB / 1.497 GB, free: 2.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.5512, allocations: 0.563 MB / 1.498 GB, free: 1.664 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.5562, allocations: 1.918 MB / 1.5 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.5597, allocations: 1.213 MB / 1.501 GB, free: 14.53 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004357/0.564, allocations: 3.008 MB / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.5653, allocations: 0.7357 MB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.568, allocations: 1.316 MB / 1.506 GB, free: 9.449 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.5702, allocations: 0.939 MB / 1.507 GB, free: 8.516 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.5705, allocations: 108 kB / 1.507 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.5731, allocations: 1.184 MB / 1.508 GB, free: 7.223 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.5738, allocations: 470.6 kB / 1.508 GB, free: 6.762 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.5746, allocations: 0.5408 MB / 1.509 GB, free: 6.219 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.578, allocations: 2.114 MB / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.578, allocations: 0 / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.593e-06/0.578, allocations: 0 / 1.511 GB, free: 4.098 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.578, allocations: 0 / 1.511 GB, free: 4.098 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.002834/0.5808, allocations: 1.481 MB / 1.512 GB, free: 2.578 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5809, allocations: 12.03 kB / 1.512 GB, free: 2.566 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.5829, allocations: 327 kB / 1.513 GB, free: 2.246 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.5845, allocations: 0.78 MB / 1.513 GB, free: 1.438 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.5845, allocations: 66 kB / 1.514 GB, free: 1.375 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5847, allocations: 76 kB / 1.514 GB, free: 1.301 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.5867, allocations: 1.365 MB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5867, allocations: 3.938 kB / 1.515 GB, free: 15.81 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.89e-05/0.5868, allocations: 40 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.5869, allocations: 37.98 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.5883, allocations: 0.8159 MB / 1.516 GB, free: 14.92 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.00535/0.5937, allocations: 2.39 MB / 1.518 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.5945, allocations: 477.5 kB / 1.519 GB, free: 12.01 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.595, allocations: 270 kB / 1.519 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.5951, allocations: 24.42 kB / 1.519 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5951, allocations: 43 kB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.5952, allocations: 4 kB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004173/0.5993, allocations: 1.691 MB / 1.521 GB, free: 9.934 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.5994, allocations: 59.84 kB / 1.521 GB, free: 9.859 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.6002, allocations: 0.6488 MB / 1.521 GB, free: 9.203 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.6003, allocations: 37.7 kB / 1.521 GB, free: 9.16 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/0.6008, allocations: 496 kB / 1.522 GB, free: 8.668 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.601, allocations: 182.5 kB / 1.522 GB, free: 8.488 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.6012, allocations: 114.2 kB / 1.522 GB, free: 8.371 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6014, allocations: 382.7 kB / 1.522 GB, free: 7.988 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.6019, allocations: 241.2 kB / 1.523 GB, free: 7.754 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.6024, allocations: 412.5 kB / 1.523 GB, free: 7.301 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.003852/0.6063, allocations: 1.455 MB / 1.524 GB, free: 5.812 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6063, allocations: 0 / 1.524 GB, free: 5.812 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001515/0.6078, allocations: 0.7722 MB / 1.525 GB, free: 5.031 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.6078, allocations: 15.92 kB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6078, allocations: 0 / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.6082, allocations: 93.66 kB / 1.525 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.6089, allocations: 143.8 kB / 1.525 GB, free: 4.777 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.6121, allocations: 3.041 MB / 1.528 GB, free: 1.531 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/0.613, allocations: 24.16 kB / 1.528 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.613, allocations: 28 kB / 1.528 GB, free: 1.48 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.0005243/0.6136, allocations: 305.5 kB / 1.529 GB, free: 1.172 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.6137, allocations: 87.53 kB / 1.529 GB, free: 1.086 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.6139, allocations: 83.36 kB / 1.529 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6139, allocations: 4 kB / 1.529 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6139, allocations: 0 / 1.529 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.615, allocations: 0.8388 MB / 1.53 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.6179, allocations: 1.537 MB / 1.531 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6179, allocations: 8.219 kB / 1.531 GB, free: 14.44 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.6185, allocations: 131.8 kB / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.6188, allocations: 68.8 kB / 1.531 GB, free: 14.24 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.6188, allocations: 12 kB / 1.531 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6206, allocations: 1.656 MB / 1.533 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6206, allocations: 4 kB / 1.533 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.6223, allocations: 1.058 MB / 1.534 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.6228, allocations: 155.5 kB / 1.534 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.6229, allocations: 16 kB / 1.534 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.6235, allocations: 29.3 kB / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6236, allocations: 43.86 kB / 1.534 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.6237, allocations: 31.98 kB / 1.534 GB, free: 11.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005829/0.6243, allocations: 451 kB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6243, allocations: 3.938 kB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000927/0.6252, allocations: 283.9 kB / 1.535 GB, free: 10.37 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.0003492/0.6256, allocations: 184.5 kB / 1.535 GB, free: 10.18 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.627, allocations: 0.7722 MB / 1.536 GB, free: 9.375 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.627, allocations: 4 kB / 1.536 GB, free: 9.371 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.6277, allocations: 399.6 kB / 1.536 GB, free: 8.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.63, allocations: 0.4997 MB / 1.537 GB, free: 8.484 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.6331, allocations: 1.865 MB / 1.539 GB, free: 6.535 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.6337, allocations: 0.4923 MB / 1.539 GB, free: 6.012 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.6339, allocations: 63.42 kB / 1.539 GB, free: 5.949 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/0.6339, allocations: 0 / 1.539 GB, free: 5.949 MB / 1.232 GB Notification: Performance of Templates: time 0.02868/0.6626, allocations: 20.91 MB / 1.56 GB, free: 1.133 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 -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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 14.096082663163543]