Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.002011/0.002011, allocations: 77.86 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.00262/0.00262, allocations: 162.4 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.852/2.852, allocations: 377.9 MB / 0.6228 GB, free: 12.55 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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [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.002356/0.002356, allocations: 63.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.02, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2133/1.233, allocations: 151 MB / 1.301 GB, free: 11.68 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008033/1.241, allocations: 4.031 MB / 1.305 GB, free: 8.738 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/1.242, allocations: 30.53 kB / 1.305 GB, free: 8.723 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.243, allocations: 331.6 kB / 1.306 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003942/1.247, allocations: 1.282 MB / 1.307 GB, free: 7.477 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/1.25, allocations: 0.8101 MB / 1.308 GB, free: 6.863 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002778/1.252, allocations: 1.715 MB / 1.309 GB, free: 5.867 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007967/1.253, allocations: 455.1 kB / 1.31 GB, free: 5.551 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/1.255, allocations: 0.7942 MB / 1.311 GB, free: 5.086 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/1.257, allocations: 0.5545 MB / 1.311 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.257, allocations: 68.72 kB / 1.311 GB, free: 4.77 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/1.258, allocations: 0.6637 MB / 1.312 GB, free: 4.426 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000352/1.259, allocations: 276.4 kB / 1.312 GB, free: 4.238 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004979/1.259, allocations: 341.5 kB / 1.312 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/1.261, allocations: 1.256 MB / 1.314 GB, free: 3.242 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.261, allocations: 5.344 kB / 1.314 GB, free: 3.238 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.453e-06/1.261, allocations: 0 / 1.314 GB, free: 3.238 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.261, allocations: 0 / 1.314 GB, free: 3.238 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002003/1.263, allocations: 0.9863 MB / 1.315 GB, free: 2.484 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.263, allocations: 10.03 kB / 1.315 GB, free: 2.484 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.264, allocations: 165.5 kB / 1.315 GB, free: 2.41 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/1.265, allocations: 494.3 kB / 1.315 GB, free: 2.035 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/1.265, allocations: 39.56 kB / 1.315 GB, free: 2.02 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/1.266, allocations: 57.7 kB / 1.315 GB, free: 1.996 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.267, allocations: 0.9944 MB / 1.316 GB, free: 1.176 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.267, allocations: 0.9375 kB / 1.316 GB, free: 1.176 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/1.267, allocations: 30.14 kB / 1.316 GB, free: 1.152 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/1.267, allocations: 26.03 kB / 1.316 GB, free: 1.145 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/1.268, allocations: 0.5102 MB / 1.317 GB, free: 0.8945 MB / 1.154 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.003304/1.271, allocations: 1.547 MB / 1.318 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/1.272, allocations: 249.1 kB / 1.319 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/1.272, allocations: 124.9 kB / 1.319 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/1.272, allocations: 3.469 kB / 1.319 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.272, allocations: 41.83 kB / 1.319 GB, free: 15.57 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/1.272, allocations: 1.125 kB / 1.319 GB, free: 15.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001703/1.274, allocations: 0.5065 MB / 1.319 GB, free: 15.17 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.274, allocations: 81.11 kB / 1.319 GB, free: 15.07 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/1.275, allocations: 441.8 kB / 1.32 GB, free: 14.63 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/1.275, allocations: 25.7 kB / 1.32 GB, free: 14.6 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/1.275, allocations: 355.7 kB / 1.32 GB, free: 14.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/1.275, allocations: 75.36 kB / 1.32 GB, free: 14.17 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.275, allocations: 73.98 kB / 1.32 GB, free: 14.09 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.275, allocations: 354.7 kB / 1.321 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/1.276, allocations: 128.6 kB / 1.321 GB, free: 13.61 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/1.276, allocations: 244.3 kB / 1.321 GB, free: 13.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/1.277, allocations: 336.8 kB / 1.321 GB, free: 12.98 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.277, allocations: 0 / 1.321 GB, free: 12.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009562/1.278, allocations: 487 kB / 1.322 GB, free: 12.49 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.278, allocations: 4 kB / 1.322 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.278, allocations: 4 kB / 1.322 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/1.278, allocations: 97.59 kB / 1.322 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/1.278, allocations: 71.89 kB / 1.322 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/1.282, allocations: 3.079 MB / 1.325 GB, free: 9.027 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/1.282, allocations: 39.77 kB / 1.325 GB, free: 8.988 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.282, allocations: 16 kB / 1.325 GB, free: 8.973 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.282, allocations: 226.2 kB / 1.325 GB, free: 8.742 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/1.282, allocations: 51.66 kB / 1.325 GB, free: 8.691 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/1.283, allocations: 47.67 kB / 1.325 GB, free: 8.645 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.283, allocations: 4 kB / 1.325 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.283, allocations: 0 / 1.325 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008125/1.283, allocations: 0.5305 MB / 1.326 GB, free: 8.039 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.285, allocations: 0.7502 MB / 1.327 GB, free: 7.242 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.285, allocations: 192 / 1.327 GB, free: 7.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.285, allocations: 51.97 kB / 1.327 GB, free: 7.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/1.285, allocations: 68.81 kB / 1.327 GB, free: 7.121 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.285, allocations: 4 kB / 1.327 GB, free: 7.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/1.287, allocations: 1.679 MB / 1.328 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.287, allocations: 7.969 kB / 1.328 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/1.288, allocations: 424.1 kB / 1.329 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/1.288, allocations: 83.61 kB / 1.329 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/1.288, allocations: 4 kB / 1.329 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/1.288, allocations: 22 kB / 1.329 GB, free: 4.781 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/1.288, allocations: 19.97 kB / 1.329 GB, free: 4.762 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/1.288, allocations: 19.98 kB / 1.329 GB, free: 4.742 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000371/1.289, allocations: 311 kB / 1.329 GB, free: 4.441 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/1.289, allocations: 0 / 1.329 GB, free: 4.441 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007846/1.29, allocations: 215.6 kB / 1.329 GB, free: 4.23 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/1.29, allocations: 147.2 kB / 1.329 GB, free: 4.078 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009586/1.291, allocations: 0.5246 MB / 1.33 GB, free: 3.527 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.291, allocations: 0 / 1.33 GB, free: 3.527 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.291, allocations: 263.1 kB / 1.33 GB, free: 3.258 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.292, allocations: 263.2 kB / 1.33 GB, free: 3.012 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.294, allocations: 0.9765 MB / 1.331 GB, free: 2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/1.295, allocations: 318.1 kB / 1.332 GB, free: 1.66 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003339/1.295, allocations: 96.12 kB / 1.332 GB, free: 1.562 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/1.295, allocations: 36.5 kB / 1.332 GB, free: 1.527 MB / 1.17 GB Notification: Performance of SimCode: time 5.31e-07/1.295, allocations: 0 / 1.332 GB, free: 1.527 MB / 1.17 GB Notification: Performance of Templates: time 0.01939/1.314, allocations: 10.61 MB / 1.342 GB, free: 7.199 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.66537641105242]