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.0009866/0.0009866, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001034/0.001034, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+..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.[0-9,]+..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 2.295e-06/2.295e-06, allocations: 0 / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.257e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.216/0.2161, allocations: 167.4 MB / 0.975 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.005895/0.222, allocations: 4.374 MB / 0.9793 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007702/0.2227, allocations: 31.75 kB / 0.9793 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.2237, allocations: 329.9 kB / 0.9796 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.2258, allocations: 1.076 MB / 0.9806 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.2275, allocations: 0.8449 MB / 0.9815 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2289, allocations: 1.34 MB / 0.9828 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.2294, allocations: 384.1 kB / 0.9831 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.2305, allocations: 0.9036 MB / 0.984 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.2313, allocations: 428.1 kB / 0.9844 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.2314, allocations: 52 kB / 0.9845 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2326, allocations: 0.7636 MB / 0.9852 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2328, allocations: 231.3 kB / 0.9855 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.2332, allocations: 235.5 kB / 0.9857 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.2345, allocations: 0.923 MB / 0.9866 GB, free: 14.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2345, allocations: 0 / 0.9866 GB, free: 14.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2345, allocations: 0 / 0.9866 GB, free: 14.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.2345, allocations: 4 kB / 0.9866 GB, free: 14.26 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.001254/0.2358, allocations: 0.9931 MB / 0.9876 GB, free: 13.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2358, allocations: 16.03 kB / 0.9876 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.2368, allocations: 271.1 kB / 0.9878 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.2374, allocations: 453.4 kB / 0.9883 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.2374, allocations: 33 kB / 0.9883 GB, free: 12.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.2375, allocations: 47.94 kB / 0.9883 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.2382, allocations: 0.7418 MB / 0.9891 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2382, allocations: 0 / 0.9891 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.2382, allocations: 16 kB / 0.9891 GB, free: 11.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.2383, allocations: 32.97 kB / 0.9891 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.2386, allocations: 205.8 kB / 0.9893 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.2407, allocations: 1.825 MB / 0.9911 GB, free: 9.406 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.241, allocations: 114.9 kB / 0.9912 GB, free: 9.281 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.2411, allocations: 39.67 kB / 0.9912 GB, free: 9.238 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2411, allocations: 7.984 kB / 0.9912 GB, free: 9.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2411, allocations: 41.39 kB / 0.9913 GB, free: 9.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.215e-06/0.2411, allocations: 0 / 0.9913 GB, free: 9.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001641/0.2428, allocations: 0.4889 MB / 0.9918 GB, free: 8.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2428, allocations: 85.11 kB / 0.9918 GB, free: 8.578 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.2431, allocations: 430.6 kB / 0.9922 GB, free: 8.137 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.2432, allocations: 33.7 kB / 0.9923 GB, free: 8.098 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.2433, allocations: 370.4 kB / 0.9926 GB, free: 7.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.2434, allocations: 43.64 kB / 0.9927 GB, free: 7.688 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.2435, allocations: 67.3 kB / 0.9927 GB, free: 7.613 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2436, allocations: 0.5235 MB / 0.9933 GB, free: 7.078 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.2437, allocations: 35.98 kB / 0.9933 GB, free: 7.043 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.2439, allocations: 182.2 kB / 0.9935 GB, free: 6.812 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2441, allocations: 182.6 kB / 0.9936 GB, free: 6.594 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2441, allocations: 0 / 0.9936 GB, free: 6.594 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008359/0.2449, allocations: 362.6 kB / 0.994 GB, free: 6.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.245, allocations: 8 kB / 0.994 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.245, allocations: 0 / 0.994 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.2457, allocations: 251.5 kB / 0.9942 GB, free: 5.973 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2459, allocations: 55.89 kB / 0.9943 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.2477, allocations: 2.054 MB / 0.9963 GB, free: 3.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.2479, allocations: 43.77 kB / 0.9963 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2479, allocations: 11.98 kB / 0.9963 GB, free: 3.695 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.0001552/0.2481, allocations: 176.5 kB / 0.9965 GB, free: 3.512 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.2481, allocations: 39.77 kB / 0.9965 GB, free: 3.473 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.2482, allocations: 43.28 kB / 0.9966 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2482, allocations: 0 / 0.9966 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2482, allocations: 0 / 0.9966 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2482, allocations: 7.922 kB / 0.9966 GB, free: 3.414 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.2492, allocations: 0.7068 MB / 0.9973 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2492, allocations: 0 / 0.9973 GB, free: 2.652 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.2493, allocations: 32.03 kB / 0.9973 GB, free: 2.621 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006345/0.25, allocations: 243.4 kB / 0.9975 GB, free: 2.379 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.25, allocations: 8 kB / 0.9976 GB, free: 2.371 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.2516, allocations: 1.994 MB / 0.9995 GB, free: 260 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2516, allocations: 0 / 0.9995 GB, free: 260 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.2523, allocations: 450.2 kB / 0.9999 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2524, allocations: 79.64 kB / 1 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.2525, allocations: 4 kB / 1 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2527, allocations: 34.81 kB / 1 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2527, allocations: 7.984 kB / 1 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.2528, allocations: 15.98 kB / 1 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001821/0.2529, allocations: 283 kB / 1 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2529, allocations: 0 / 1 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004692/0.2534, allocations: 195.6 kB / 1.001 GB, free: 15.18 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.0002507/0.2537, allocations: 163.3 kB / 1.001 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.2541, allocations: 337.3 kB / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2541, allocations: 0 / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.2543, allocations: 245.3 kB / 1.001 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.2549, allocations: 209.8 kB / 1.001 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2566, allocations: 0.894 MB / 1.002 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.04e-05/0.2567, allocations: 129.2 kB / 1.002 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.2569, allocations: 75.22 kB / 1.003 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.2569, allocations: 36.48 kB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/0.2569, allocations: 8 kB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of Templates: time 0.01219/0.2691, allocations: 9.771 MB / 1.012 GB, free: 3.453 MB / 0.9636 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6187395139131695]