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.001711/0.001711, 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.00221/0.00221, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.484/1.484, 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 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.088/3.088, allocations: 0.4899 GB / 0.7951 GB, free: 33.41 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.002056/0.002056, allocations: 65.08 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3488, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2302/0.579, allocations: 194.6 MB / 1.516 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.5898, allocations: 5.781 MB / 1.522 GB, free: 8.297 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.5909, allocations: 51.56 kB / 1.522 GB, free: 8.246 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.5926, allocations: 0.6175 MB / 1.523 GB, free: 7.625 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.5974, allocations: 1.95 MB / 1.525 GB, free: 5.668 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.6005, allocations: 1.244 MB / 1.526 GB, free: 4.43 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004077/0.6045, allocations: 3.025 MB / 1.529 GB, free: 1.398 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.6057, allocations: 0.7397 MB / 1.53 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.6082, allocations: 1.327 MB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.6102, allocations: 0.9599 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.6104, allocations: 115.9 kB / 1.532 GB, free: 14.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.6136, allocations: 1.528 MB / 1.533 GB, free: 12.71 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.6141, allocations: 486.6 kB / 1.534 GB, free: 12.24 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000861/0.615, allocations: 0.6456 MB / 1.534 GB, free: 11.59 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.6181, allocations: 2.149 MB / 1.537 GB, free: 9.434 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6181, allocations: 0 / 1.537 GB, free: 9.434 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6181, allocations: 0 / 1.537 GB, free: 9.434 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.6182, allocations: 0 / 1.537 GB, free: 9.434 MB / 1.232 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.002552/0.6207, allocations: 1.477 MB / 1.538 GB, free: 7.918 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.6208, allocations: 12.03 kB / 1.538 GB, free: 7.906 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.6227, allocations: 323 kB / 1.538 GB, free: 7.59 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.6241, allocations: 0.7799 MB / 1.539 GB, free: 6.781 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.6242, allocations: 66 kB / 1.539 GB, free: 6.719 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6243, allocations: 84 kB / 1.539 GB, free: 6.637 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.6259, allocations: 0.9091 MB / 1.54 GB, free: 5.719 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6259, allocations: 0 / 1.54 GB, free: 5.719 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.626, allocations: 36 kB / 1.54 GB, free: 5.684 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.626, allocations: 34 kB / 1.54 GB, free: 5.648 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.6275, allocations: 0.8314 MB / 1.541 GB, free: 4.82 MB / 1.232 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.005542/0.633, allocations: 3.467 MB / 1.544 GB, free: 1.133 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.6338, allocations: 484.3 kB / 1.545 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.6343, allocations: 270 kB / 1.545 GB, free: 388 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.6344, allocations: 24.42 kB / 1.545 GB, free: 364 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6345, allocations: 43 kB / 1.545 GB, free: 312 kB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.6345, allocations: 3.938 kB / 1.545 GB, free: 308 kB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.0038/0.6383, allocations: 1.706 MB / 1.547 GB, free: 14.56 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.6383, allocations: 63.78 kB / 1.547 GB, free: 14.48 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6393, allocations: 0.802 MB / 1.548 GB, free: 13.67 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.6394, allocations: 41.7 kB / 1.548 GB, free: 13.62 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.6398, allocations: 480.2 kB / 1.548 GB, free: 13.15 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.64, allocations: 182.4 kB / 1.548 GB, free: 12.97 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6402, allocations: 110.3 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6403, allocations: 337.9 kB / 1.549 GB, free: 12.52 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.6408, allocations: 241.2 kB / 1.549 GB, free: 12.29 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.6413, allocations: 349.2 kB / 1.549 GB, free: 11.91 MB / 1.248 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.00376/0.6451, allocations: 1.461 MB / 1.551 GB, free: 10.41 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6451, allocations: 4 kB / 1.551 GB, free: 10.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0014/0.6465, allocations: 0.7874 MB / 1.552 GB, free: 9.609 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6465, allocations: 4 kB / 1.552 GB, free: 9.605 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6465, allocations: 4 kB / 1.552 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.6468, allocations: 97.98 kB / 1.552 GB, free: 9.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.6475, allocations: 143.7 kB / 1.552 GB, free: 9.359 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.6508, allocations: 3.093 MB / 1.555 GB, free: 6.035 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.6517, allocations: 27.88 kB / 1.555 GB, free: 6.008 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.6517, allocations: 32.06 kB / 1.555 GB, free: 5.977 MB / 1.248 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.0004979/0.6522, allocations: 303 kB / 1.555 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.6524, allocations: 95.44 kB / 1.555 GB, free: 5.578 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.6526, allocations: 104.7 kB / 1.555 GB, free: 5.473 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6526, allocations: 4 kB / 1.555 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6526, allocations: 0 / 1.555 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.6537, allocations: 0.8545 MB / 1.556 GB, free: 4.523 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6567, allocations: 1.751 MB / 1.558 GB, free: 2.676 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6567, allocations: 4 kB / 1.558 GB, free: 2.672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.6573, allocations: 140.1 kB / 1.558 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.6575, allocations: 68.8 kB / 1.558 GB, free: 2.465 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.6576, allocations: 16 kB / 1.558 GB, free: 2.449 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.6593, allocations: 1.667 MB / 1.56 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.6593, allocations: 7.938 kB / 1.56 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.661, allocations: 1.078 MB / 1.561 GB, free: 15.53 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.6614, allocations: 167.3 kB / 1.561 GB, free: 15.37 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6615, allocations: 12.19 kB / 1.561 GB, free: 15.36 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.6622, allocations: 38 kB / 1.561 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6623, allocations: 47.81 kB / 1.561 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.6624, allocations: 23.98 kB / 1.561 GB, free: 15.25 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007249/0.6631, allocations: 0.5693 MB / 1.562 GB, free: 14.69 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6631, allocations: 0 / 1.562 GB, free: 14.69 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008753/0.664, allocations: 276 kB / 1.562 GB, free: 14.42 MB / 1.264 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.0003317/0.6643, allocations: 171.1 kB / 1.562 GB, free: 14.24 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.6657, allocations: 0.7915 MB / 1.563 GB, free: 13.41 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6657, allocations: 0 / 1.563 GB, free: 13.41 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.6663, allocations: 399.5 kB / 1.563 GB, free: 13.01 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.6689, allocations: 0.6078 MB / 1.564 GB, free: 12.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.6718, allocations: 1.834 MB / 1.566 GB, free: 10.51 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008313/0.6726, allocations: 1.091 MB / 1.567 GB, free: 9.387 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006665/0.6733, allocations: 215.7 kB / 1.567 GB, free: 9.172 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6735, allocations: 67.42 kB / 1.567 GB, free: 9.105 MB / 1.264 GB Notification: Performance of SimCode: time 7.71e-07/0.6735, allocations: 0 / 1.567 GB, free: 9.105 MB / 1.264 GB Notification: Performance of Templates: time 0.03609/0.7096, allocations: 21.41 MB / 1.588 GB, free: 3.984 MB / 1.279 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/jenkins/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.53333122516051]