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.002463/0.002463, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002891/0.002891, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.047/3.047, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.246e-05, allocations: 3.25 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2393/0.2393, allocations: 167.4 MB / 0.9742 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008326/0.2477, allocations: 4.384 MB / 0.9785 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.2483, allocations: 31.75 kB / 0.9786 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2494, allocations: 337.8 kB / 0.9789 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.2526, allocations: 1.313 MB / 0.9802 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2549, allocations: 0.8295 MB / 0.981 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002855/0.2577, allocations: 1.753 MB / 0.9827 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008079/0.2585, allocations: 464.5 kB / 0.9831 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.2603, allocations: 0.9933 MB / 0.9841 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.2617, allocations: 0.5268 MB / 0.9846 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.2619, allocations: 72 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2635, allocations: 0.6737 MB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.2639, allocations: 303.2 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.2644, allocations: 295.4 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.2669, allocations: 1.309 MB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2669, allocations: 0 / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2669, allocations: 0 / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.2669, allocations: 0 / 0.9872 GB, free: 12.84 MB / 0.948 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.002614/0.2695, allocations: 1.13 MB / 0.9883 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2696, allocations: 8.031 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.2708, allocations: 235.1 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.2718, allocations: 0.4976 MB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.2718, allocations: 37.31 kB / 0.989 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.272, allocations: 63.92 kB / 0.9891 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2734, allocations: 0.9507 MB / 0.99 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2734, allocations: 0 / 0.99 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.2735, allocations: 20 kB / 0.9901 GB, free: 9.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.2735, allocations: 29.3 kB / 0.9901 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.2744, allocations: 361 kB / 0.9904 GB, free: 9.352 MB / 0.948 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.003833/0.2782, allocations: 1.838 MB / 0.9922 GB, free: 7.461 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.2788, allocations: 219.2 kB / 0.9924 GB, free: 7.234 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.279, allocations: 98.89 kB / 0.9925 GB, free: 7.137 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.279, allocations: 4 kB / 0.9925 GB, free: 7.133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.2791, allocations: 45.38 kB / 0.9926 GB, free: 7.078 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.2791, allocations: 0 / 0.9926 GB, free: 7.078 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001571/0.2806, allocations: 430.8 kB / 0.993 GB, free: 6.645 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.2807, allocations: 81.11 kB / 0.9931 GB, free: 6.547 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/0.2814, allocations: 0.5337 MB / 0.9936 GB, free: 5.996 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2814, allocations: 37.64 kB / 0.9936 GB, free: 5.953 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.2818, allocations: 426.5 kB / 0.994 GB, free: 5.531 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.2819, allocations: 83.31 kB / 0.9941 GB, free: 5.449 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.282, allocations: 83.58 kB / 0.9942 GB, free: 5.359 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003596/0.2824, allocations: 0.547 MB / 0.9947 GB, free: 4.801 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.2826, allocations: 84.61 kB / 0.9948 GB, free: 4.719 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.283, allocations: 235.5 kB / 0.995 GB, free: 4.438 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.2835, allocations: 297.8 kB / 0.9953 GB, free: 4.105 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2835, allocations: 0 / 0.9953 GB, free: 4.105 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001115/0.2846, allocations: 412.4 kB / 0.9957 GB, free: 3.688 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2846, allocations: 4 kB / 0.9957 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2846, allocations: 4 kB / 0.9957 GB, free: 3.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.285, allocations: 79.59 kB / 0.9958 GB, free: 3.594 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.2853, allocations: 75.91 kB / 0.9959 GB, free: 3.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/0.2894, allocations: 3.91 MB / 0.9997 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.2899, allocations: 35.73 kB / 0.9997 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.2899, allocations: 12 kB / 0.9997 GB, free: 15.32 MB / 0.9636 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/0.2902, allocations: 224.4 kB / 0.9999 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2903, allocations: 55.69 kB / 1 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2904, allocations: 43.69 kB / 1 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2904, allocations: 4 kB / 1 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2904, allocations: 4 kB / 1 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007769/0.2912, allocations: 476.7 kB / 1 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.2927, allocations: 0.8515 MB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2927, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2929, allocations: 43.97 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/0.2931, allocations: 55.7 kB / 1.001 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.2931, allocations: 8 kB / 1.001 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.2956, allocations: 2.101 MB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.2956, allocations: 3.938 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.2964, allocations: 442.5 kB / 1.004 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.2966, allocations: 79.59 kB / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.2967, allocations: 0 / 1.004 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.2971, allocations: 19.98 kB / 1.004 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.2972, allocations: 19.95 kB / 1.004 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.2972, allocations: 16 kB / 1.004 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000437/0.2976, allocations: 339 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2976, allocations: 3.938 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007333/0.2984, allocations: 219.6 kB / 1.005 GB, free: 10.05 MB / 0.9636 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.0003082/0.2987, allocations: 139.2 kB / 1.005 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2997, allocations: 0.585 MB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2997, allocations: 0 / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.3002, allocations: 302.3 kB / 1.006 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.3016, allocations: 284.7 kB / 1.006 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3035, allocations: 0.9266 MB / 1.007 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3039, allocations: 298.2 kB / 1.007 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000343/0.3042, allocations: 76.14 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.3043, allocations: 40.5 kB / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.3043, allocations: 0 / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of Templates: time 0.02241/0.3267, allocations: 10.71 MB / 1.018 GB, free: 12.86 MB / 0.9792 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] 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.95652818994131]