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.001469/0.001469, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001676/0.001676, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.499/1.499, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.892/2.892, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.387e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.238/0.238, allocations: 150.9 MB / 0.9582 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008856/0.2469, allocations: 4.036 MB / 0.9621 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.248, allocations: 27.75 kB / 0.9621 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.2494, allocations: 341.8 kB / 0.9624 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.2538, allocations: 1.317 MB / 0.9637 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.2564, allocations: 0.8256 MB / 0.9645 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.2595, allocations: 1.757 MB / 0.9663 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.2607, allocations: 464.5 kB / 0.9667 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.2636, allocations: 0.9855 MB / 0.9677 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.2655, allocations: 0.5244 MB / 0.9682 GB, free: 424 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.2657, allocations: 68 kB / 0.9682 GB, free: 356 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.2675, allocations: 0.6737 MB / 0.9689 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.2679, allocations: 299.1 kB / 0.9692 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.2684, allocations: 291.4 kB / 0.9695 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.2707, allocations: 1.297 MB / 0.9707 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2707, allocations: 0 / 0.9707 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2707, allocations: 0 / 0.9707 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.2707, allocations: 0 / 0.9707 GB, free: 13.79 MB / 0.9323 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.002268/0.273, allocations: 0.9718 MB / 0.9717 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.2731, allocations: 12.03 kB / 0.9717 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.2743, allocations: 239.1 kB / 0.9719 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2753, allocations: 0.4988 MB / 0.9724 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2754, allocations: 41.31 kB / 0.9724 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2755, allocations: 63.92 kB / 0.9725 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2771, allocations: 0.9994 MB / 0.9735 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2771, allocations: 0 / 0.9735 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.2772, allocations: 24 kB / 0.9735 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.2772, allocations: 29.23 kB / 0.9735 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.2785, allocations: 0.5087 MB / 0.974 GB, free: 10.26 MB / 0.9323 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.003421/0.2819, allocations: 1.582 MB / 0.9756 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.2825, allocations: 234.8 kB / 0.9758 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.2828, allocations: 132.7 kB / 0.9759 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2828, allocations: 4 kB / 0.9759 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.2829, allocations: 42.55 kB / 0.976 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.2829, allocations: 0 / 0.976 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.001779/0.2847, allocations: 0.5153 MB / 0.9765 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.2848, allocations: 81.06 kB / 0.9765 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.2854, allocations: 437.8 kB / 0.977 GB, free: 7.145 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.2854, allocations: 33.7 kB / 0.977 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.2858, allocations: 347.7 kB / 0.9773 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.2858, allocations: 75.33 kB / 0.9774 GB, free: 6.688 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.286, allocations: 73.98 kB / 0.9775 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000456/0.2864, allocations: 350.8 kB / 0.9778 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.2867, allocations: 128.6 kB / 0.9779 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.2872, allocations: 240.3 kB / 0.9782 GB, free: 5.859 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.2878, allocations: 341.6 kB / 0.9785 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2878, allocations: 0 / 0.9785 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001161/0.289, allocations: 0.5066 MB / 0.979 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.289, allocations: 4 kB / 0.979 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.289, allocations: 4 kB / 0.979 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.2894, allocations: 85.66 kB / 0.9791 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.2897, allocations: 75.89 kB / 0.9791 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.2936, allocations: 3.081 MB / 0.9821 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.2941, allocations: 43.73 kB / 0.9822 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.2941, allocations: 19.94 kB / 0.9822 GB, free: 1.453 MB / 0.9323 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.0003634/0.2945, allocations: 209.7 kB / 0.9824 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2946, allocations: 59.69 kB / 0.9825 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.2947, allocations: 43.69 kB / 0.9825 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2947, allocations: 4 kB / 0.9825 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2947, allocations: 0 / 0.9825 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009117/0.2956, allocations: 0.5368 MB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.297, allocations: 0.7524 MB / 0.9838 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.297, allocations: 0 / 0.9838 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.2973, allocations: 47.91 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.2975, allocations: 64.88 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.2975, allocations: 7.984 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.3001, allocations: 1.688 MB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3001, allocations: 4.031 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.3008, allocations: 437.6 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3011, allocations: 75.72 kB / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.3011, allocations: 8 kB / 0.986 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.3015, allocations: 19.94 kB / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.3016, allocations: 23.95 kB / 0.9861 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.3017, allocations: 8 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004266/0.3021, allocations: 307.1 kB / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3021, allocations: 0 / 0.9864 GB, free: 12.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000761/0.3029, allocations: 215.6 kB / 0.9866 GB, free: 12.72 MB / 0.948 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.0003464/0.3032, allocations: 159.1 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.3043, allocations: 0.5202 MB / 0.9872 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.3043, allocations: 7.75 kB / 0.9873 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.3047, allocations: 247.1 kB / 0.9875 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.3061, allocations: 290 kB / 0.9878 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3079, allocations: 0.9516 MB / 0.9887 GB, free: 10.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.3084, allocations: 314.1 kB / 0.989 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000354/0.3087, allocations: 92.12 kB / 0.9891 GB, free: 10.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.3088, allocations: 36.5 kB / 0.9891 GB, free: 10.03 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.3088, allocations: 0 / 0.9891 GB, free: 10.03 MB / 0.948 GB Notification: Performance of Templates: time 0.02142/0.3302, allocations: 10.56 MB / 0.9994 GB, free: 15.73 MB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.518431805074215]