Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009151/0.0009151, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002023, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007122/0.0007122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008907/0.001603, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9634/0.9634, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.492/2.492, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3385/2.83, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.734e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.221/0.221, allocations: 148.1 MB / 0.9629 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004895/0.2259, allocations: 3.489 MB / 0.9664 GB, free: 10.7 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.2263, allocations: 31.75 kB / 0.9664 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.2269, allocations: 182.7 kB / 0.9666 GB, free: 10.49 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.2282, allocations: 0.7923 MB / 0.9673 GB, free: 9.691 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.2296, allocations: 0.6855 MB / 0.968 GB, free: 9.004 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2307, allocations: 1.297 MB / 0.9693 GB, free: 7.699 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007906/0.2315, allocations: 421.3 kB / 0.9697 GB, free: 7.293 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2326, allocations: 0.8389 MB / 0.9705 GB, free: 6.469 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.2331, allocations: 394.8 kB / 0.9709 GB, free: 6.082 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.2331, allocations: 48 kB / 0.9709 GB, free: 6.035 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.2339, allocations: 0.5924 MB / 0.9715 GB, free: 5.441 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.2341, allocations: 191.5 kB / 0.9717 GB, free: 5.254 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.2343, allocations: 195.6 kB / 0.9719 GB, free: 5.062 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009642/0.2352, allocations: 0.7633 MB / 0.9726 GB, free: 4.297 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.438e-05/0.2353, allocations: 0 / 0.9726 GB, free: 4.297 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2353, allocations: 0 / 0.9726 GB, free: 4.297 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.662e-05/0.2353, allocations: 0 / 0.9726 GB, free: 4.297 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.001333/0.2366, allocations: 1.053 MB / 0.9736 GB, free: 3.199 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2367, allocations: 12.62 kB / 0.9736 GB, free: 3.188 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/0.2374, allocations: 260.3 kB / 0.9739 GB, free: 2.934 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.2379, allocations: 359.6 kB / 0.9742 GB, free: 2.555 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.2379, allocations: 37.12 kB / 0.9743 GB, free: 2.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.238, allocations: 48 kB / 0.9743 GB, free: 2.473 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.2387, allocations: 0.6793 MB / 0.975 GB, free: 1.691 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2387, allocations: 4 kB / 0.975 GB, free: 1.688 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.2387, allocations: 20 kB / 0.975 GB, free: 1.668 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.2387, allocations: 17 kB / 0.975 GB, free: 1.652 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.239, allocations: 164.5 kB / 0.9752 GB, free: 1.492 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.241, allocations: 1.321 MB / 0.9765 GB, free: 128 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.2413, allocations: 133.3 kB / 0.9766 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.2413, allocations: 28.84 kB / 0.9766 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2413, allocations: 3.984 kB / 0.9766 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2414, allocations: 42.61 kB / 0.9767 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.2414, allocations: 0 / 0.9767 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001253/0.2426, allocations: 412.8 kB / 0.9771 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.2426, allocations: 55.41 kB / 0.9771 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.2429, allocations: 359.2 kB / 0.9775 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2429, allocations: 29.7 kB / 0.9775 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.2431, allocations: 284.6 kB / 0.9778 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2431, allocations: 39.67 kB / 0.9778 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.2432, allocations: 53.64 kB / 0.9778 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.2434, allocations: 350.7 kB / 0.9782 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.2435, allocations: 42.81 kB / 0.9782 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.2436, allocations: 135 kB / 0.9783 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2438, allocations: 148.7 kB / 0.9785 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2438, allocations: 3.938 kB / 0.9785 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005719/0.2443, allocations: 294.4 kB / 0.9788 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2444, allocations: 5.875 kB / 0.9788 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2444, allocations: 4 kB / 0.9788 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.245, allocations: 235.6 kB / 0.979 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2452, allocations: 67.89 kB / 0.9791 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2465, allocations: 1.426 MB / 0.9805 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2467, allocations: 47.75 kB / 0.9805 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2467, allocations: 11.94 kB / 0.9805 GB, free: 11.7 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 (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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.2468, allocations: 128.6 kB / 0.9806 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2468, allocations: 31.91 kB / 0.9807 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.2469, allocations: 39.28 kB / 0.9807 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2469, allocations: 0 / 0.9807 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2469, allocations: 3.938 kB / 0.9807 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2469, allocations: 7.984 kB / 0.9807 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.2477, allocations: 0.523 MB / 0.9812 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2477, allocations: 0 / 0.9812 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.2478, allocations: 27.97 kB / 0.9813 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.2479, allocations: 55.73 kB / 0.9813 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/0.2488, allocations: 254.2 kB / 0.9816 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2488, allocations: 0 / 0.9816 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.2498, allocations: 1.396 MB / 0.9829 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2498, allocations: 4 kB / 0.9829 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.2508, allocations: 382.1 kB / 0.9833 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.2509, allocations: 0 / 0.9833 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.2512, allocations: 35.97 kB / 0.9833 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.2512, allocations: 11.97 kB / 0.9833 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.2513, allocations: 11.98 kB / 0.9833 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001808/0.2514, allocations: 140.6 kB / 0.9835 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2514, allocations: 0 / 0.9835 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005304/0.252, allocations: 195.6 kB / 0.9837 GB, free: 8.305 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.2523, allocations: 128.3 kB / 0.9838 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.2529, allocations: 255.5 kB / 0.984 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.401e-05/0.2529, allocations: 8 kB / 0.984 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.2531, allocations: 167.4 kB / 0.9842 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.2537, allocations: 246.4 kB / 0.9844 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.2585, allocations: 0.9341 MB / 0.9853 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2586, allocations: 129.2 kB / 0.9855 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003131/0.2589, allocations: 67.23 kB / 0.9855 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.2593, allocations: 219 kB / 0.9857 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of SimCode: time 2.896e-06/0.2594, allocations: 0 / 0.9857 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of Templates: time 0.01551/0.2749, allocations: 10.54 MB / 0.996 GB, free: 11.75 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.ref.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: 6.174342904239893]