Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.002478/0.002478, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.003062/0.003062, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.037/3.037, allocations: 377.8 MB / 0.6232 GB, free: 8.566 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.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.849e-06, allocations: 4 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.391e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2407/0.2408, allocations: 167.3 MB / 0.9742 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008441/0.2492, allocations: 4.371 MB / 0.9785 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.2498, allocations: 27.75 kB / 0.9785 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.2508, allocations: 329.9 kB / 0.9788 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.2535, allocations: 1.076 MB / 0.9798 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.2558, allocations: 0.8448 MB / 0.9807 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.2578, allocations: 1.338 MB / 0.982 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.2585, allocations: 388.2 kB / 0.9823 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.2604, allocations: 0.9074 MB / 0.9832 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.2615, allocations: 424.6 kB / 0.9836 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2616, allocations: 55.94 kB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.2633, allocations: 0.7557 MB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.2636, allocations: 239.3 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.264, allocations: 239.5 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.2659, allocations: 1.18 MB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.2659, allocations: 3.984 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2659, allocations: 4 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2659, allocations: 0 / 0.986 GB, free: 14.11 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002054/0.2679, allocations: 1.024 MB / 0.987 GB, free: 13.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.268, allocations: 16.03 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.2695, allocations: 267.1 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009969/0.2705, allocations: 457.4 kB / 0.9878 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.2706, allocations: 33 kB / 0.9878 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.2707, allocations: 47.94 kB / 0.9878 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2721, allocations: 0.8505 MB / 0.9887 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2721, allocations: 3.938 kB / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.2722, allocations: 20 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.2722, allocations: 17 kB / 0.9887 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2735, allocations: 403.7 kB / 0.9891 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004232/0.2778, allocations: 2.082 MB / 0.9911 GB, free: 8.668 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.2785, allocations: 214.9 kB / 0.9913 GB, free: 8.445 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.2789, allocations: 123.6 kB / 0.9914 GB, free: 8.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.279, allocations: 4 kB / 0.9914 GB, free: 8.316 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.279, allocations: 41.39 kB / 0.9915 GB, free: 8.266 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.279, allocations: 0 / 0.9915 GB, free: 8.266 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.00458/0.2836, allocations: 0.766 MB / 0.9922 GB, free: 7.488 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.2837, allocations: 77.11 kB / 0.9923 GB, free: 7.395 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.2844, allocations: 0.5103 MB / 0.9928 GB, free: 6.871 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.2844, allocations: 33.7 kB / 0.9928 GB, free: 6.832 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.2848, allocations: 386.4 kB / 0.9932 GB, free: 6.445 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.2848, allocations: 35.69 kB / 0.9932 GB, free: 6.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.285, allocations: 71.31 kB / 0.9933 GB, free: 6.332 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003396/0.2853, allocations: 0.543 MB / 0.9938 GB, free: 5.777 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.2858, allocations: 127.9 kB / 0.994 GB, free: 5.652 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.2863, allocations: 266.2 kB / 0.9942 GB, free: 5.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.2873, allocations: 338.8 kB / 0.9945 GB, free: 4.969 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2873, allocations: 4 kB / 0.9945 GB, free: 4.965 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002228/0.2895, allocations: 0.5553 MB / 0.9951 GB, free: 4.398 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2895, allocations: 4 kB / 0.9951 GB, free: 4.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2895, allocations: 4 kB / 0.9951 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.2911, allocations: 299.4 kB / 0.9954 GB, free: 4.094 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.2915, allocations: 63.89 kB / 0.9954 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.2956, allocations: 2.456 MB / 0.9978 GB, free: 1.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.2961, allocations: 43.86 kB / 0.9979 GB, free: 1.414 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2962, allocations: 15.98 kB / 0.9979 GB, free: 1.398 MB / 0.948 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 (26): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0003227/0.2965, allocations: 212.4 kB / 0.9981 GB, free: 1.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2966, allocations: 39.77 kB / 0.9981 GB, free: 1.141 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2967, allocations: 43.27 kB / 0.9982 GB, free: 1.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2967, allocations: 0 / 0.9982 GB, free: 1.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2967, allocations: 4 kB / 0.9982 GB, free: 1.086 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2967, allocations: 0 / 0.9982 GB, free: 1.086 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.2998, allocations: 0.9958 MB / 0.9991 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2998, allocations: 0 / 0.9991 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.3, allocations: 35.97 kB / 0.9992 GB, free: 0 / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.3015, allocations: 295.3 kB / 0.9995 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3015, allocations: 4 kB / 0.9995 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.3054, allocations: 2.408 MB / 1.002 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3054, allocations: 0 / 1.002 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.3076, allocations: 0.6197 MB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.3079, allocations: 71.72 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.308, allocations: 3.984 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.3085, allocations: 38.61 kB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.3085, allocations: 15.91 kB / 1.003 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.3086, allocations: 15.98 kB / 1.003 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004429/0.309, allocations: 331.1 kB / 1.003 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.309, allocations: 0 / 1.003 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008093/0.3098, allocations: 195.6 kB / 1.003 GB, free: 11.87 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 (7): * Single equations (assignments): 6 * 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.0004092/0.3103, allocations: 160.2 kB / 1.003 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.3117, allocations: 0.5036 MB / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3117, allocations: 0 / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/0.3124, allocations: 329.8 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3136, allocations: 214.7 kB / 1.004 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3168, allocations: 0.9759 MB / 1.005 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3171, allocations: 252 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.3175, allocations: 79.2 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.3176, allocations: 28.5 kB / 1.006 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of SimCode: time 1.302e-06/0.3176, allocations: 4 kB / 1.006 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of Templates: time 0.02196/0.3395, allocations: 9.756 MB / 1.015 GB, free: 15.7 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.955946773989126]