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.001388/0.001388, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001488/0.001488, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.82/2.82, allocations: 377.9 MB / 0.6228 GB, free: 12.62 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.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.002448/0.002448, allocations: 62.41 kB / 0.982 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2539/1.348, allocations: 168.6 MB / 1.319 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01336/1.361, allocations: 5.448 MB / 1.324 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/1.364, allocations: 53.84 kB / 1.324 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/1.366, allocations: 0.5581 MB / 1.324 GB, free: 9.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007006/1.373, allocations: 1.935 MB / 1.326 GB, free: 8.074 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/1.377, allocations: 1.205 MB / 1.328 GB, free: 6.969 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005128/1.382, allocations: 2.998 MB / 1.33 GB, free: 3.961 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/1.383, allocations: 0.7358 MB / 1.331 GB, free: 3.215 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/1.387, allocations: 1.327 MB / 1.332 GB, free: 1.883 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/1.389, allocations: 0.9198 MB / 1.333 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/1.389, allocations: 108 kB / 1.333 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/1.393, allocations: 1.184 MB / 1.335 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/1.393, allocations: 474.5 kB / 1.335 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008376/1.394, allocations: 0.5447 MB / 1.336 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/1.398, allocations: 2.122 MB / 1.338 GB, free: 12.53 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.398, allocations: 4 kB / 1.338 GB, free: 12.53 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.374e-06/1.398, allocations: 0 / 1.338 GB, free: 12.53 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.398, allocations: 0 / 1.338 GB, free: 12.53 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.002755/1.401, allocations: 1.462 MB / 1.339 GB, free: 11.03 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.401, allocations: 15.97 kB / 1.339 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/1.403, allocations: 327 kB / 1.339 GB, free: 10.69 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/1.404, allocations: 0.7838 MB / 1.34 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/1.404, allocations: 62 kB / 1.34 GB, free: 9.82 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.405, allocations: 84 kB / 1.34 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.406, allocations: 1.372 MB / 1.342 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.406, allocations: 0 / 1.342 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/1.407, allocations: 40 kB / 1.342 GB, free: 8.211 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/1.407, allocations: 30 kB / 1.342 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.408, allocations: 0.8198 MB / 1.343 GB, free: 7.363 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.00505/1.413, allocations: 2.387 MB / 1.345 GB, free: 4.926 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/1.414, allocations: 477.2 kB / 1.345 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/1.414, allocations: 274.1 kB / 1.346 GB, free: 4.184 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.415, allocations: 36.47 kB / 1.346 GB, free: 4.148 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.415, allocations: 39.06 kB / 1.346 GB, free: 4.102 MB / 1.186 GB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/1.415, allocations: 0 / 1.346 GB, free: 4.102 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.004609/1.419, allocations: 1.702 MB / 1.347 GB, free: 2.359 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/1.419, allocations: 55.91 kB / 1.347 GB, free: 2.293 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.42, allocations: 0.6526 MB / 1.348 GB, free: 1.633 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/1.42, allocations: 37.7 kB / 1.348 GB, free: 1.59 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/1.421, allocations: 496 kB / 1.349 GB, free: 1.098 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/1.421, allocations: 174.5 kB / 1.349 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/1.421, allocations: 118.2 kB / 1.349 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002796/1.422, allocations: 382.7 kB / 1.349 GB, free: 432 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/1.422, allocations: 249.2 kB / 1.349 GB, free: 184 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/1.423, allocations: 412.6 kB / 1.35 GB, free: 15.72 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.004167/1.427, allocations: 1.445 MB / 1.351 GB, free: 14.24 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.427, allocations: 4 kB / 1.351 GB, free: 14.24 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001753/1.429, allocations: 0.7757 MB / 1.352 GB, free: 13.45 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.429, allocations: 8 kB / 1.352 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.429, allocations: 0 / 1.352 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/1.429, allocations: 89.66 kB / 1.352 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.43, allocations: 152.1 kB / 1.352 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/1.434, allocations: 3.036 MB / 1.355 GB, free: 9.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/1.435, allocations: 27.94 kB / 1.355 GB, free: 9.934 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/1.435, allocations: 20 kB / 1.355 GB, free: 9.914 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 (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.0006261/1.435, allocations: 306.2 kB / 1.356 GB, free: 9.605 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1.435, allocations: 79.53 kB / 1.356 GB, free: 9.527 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/1.436, allocations: 87.36 kB / 1.356 GB, free: 9.434 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.436, allocations: 7.984 kB / 1.356 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.436, allocations: 4 kB / 1.356 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/1.437, allocations: 0.8403 MB / 1.357 GB, free: 8.496 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/1.44, allocations: 1.538 MB / 1.358 GB, free: 6.875 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.44, allocations: 7.938 kB / 1.358 GB, free: 6.867 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/1.441, allocations: 123.8 kB / 1.358 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/1.441, allocations: 77.16 kB / 1.358 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/1.441, allocations: 12 kB / 1.358 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/1.443, allocations: 1.652 MB / 1.36 GB, free: 4.906 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.443, allocations: 4 kB / 1.36 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.444, allocations: 1.061 MB / 1.361 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.445, allocations: 147.4 kB / 1.361 GB, free: 3.641 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/1.445, allocations: 16 kB / 1.361 GB, free: 3.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/1.445, allocations: 33.73 kB / 1.361 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.446, allocations: 43.81 kB / 1.361 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/1.446, allocations: 31.98 kB / 1.361 GB, free: 3.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006483/1.446, allocations: 451 kB / 1.362 GB, free: 3.086 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/1.446, allocations: 4.062 kB / 1.362 GB, free: 3.082 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001005/1.447, allocations: 284 kB / 1.362 GB, free: 2.805 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 (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.0003934/1.448, allocations: 179.8 kB / 1.362 GB, free: 2.617 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001425/1.449, allocations: 0.7765 MB / 1.363 GB, free: 1.812 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.449, allocations: 4 kB / 1.363 GB, free: 1.809 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/1.45, allocations: 415.8 kB / 1.363 GB, free: 1.391 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.452, allocations: 0.4975 MB / 1.364 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/1.455, allocations: 1.816 MB / 1.365 GB, free: 15.02 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/1.456, allocations: 0.4922 MB / 1.366 GB, free: 14.49 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007051/1.457, allocations: 190.3 kB / 1.366 GB, free: 14.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.457, allocations: 60.5 kB / 1.366 GB, free: 14.24 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/1.457, allocations: 4 kB / 1.366 GB, free: 14.24 MB / 1.217 GB Notification: Performance of Templates: time 0.03534/1.492, allocations: 18.28 MB / 1.384 GB, free: 12.42 MB / 1.232 GB " [Timeout remaining time 298] 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 ida -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: 10.164821989019401]