Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.0009894/0.0009894, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001101/0.001101, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.426/2.426, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.011e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.008376/0.008397, allocations: 9.993 MB / 0.8484 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006743/0.01514, allocations: 5.22 MB / 0.8535 GB, free: 14.89 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007544/0.01589, allocations: 55.56 kB / 0.8535 GB, free: 14.84 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.01643, allocations: 242.1 kB / 0.8538 GB, free: 14.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.01787, allocations: 0.8856 MB / 0.8546 GB, free: 13.71 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.01965, allocations: 1.121 MB / 0.8557 GB, free: 12.59 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.02162, allocations: 2.142 MB / 0.8578 GB, free: 10.44 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.02244, allocations: 0.5505 MB / 0.8584 GB, free: 9.895 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.02345, allocations: 1.018 MB / 0.8593 GB, free: 8.891 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.02394, allocations: 494.4 kB / 0.8598 GB, free: 8.406 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.024, allocations: 52 kB / 0.8599 GB, free: 8.355 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.02469, allocations: 499 kB / 0.8603 GB, free: 7.867 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.02481, allocations: 195.2 kB / 0.8605 GB, free: 7.676 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.025, allocations: 267.4 kB / 0.8608 GB, free: 7.414 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.02583, allocations: 0.8369 MB / 0.8616 GB, free: 6.574 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.02583, allocations: 0 / 0.8616 GB, free: 6.574 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.71e-07/0.02583, allocations: 0 / 0.8616 GB, free: 6.574 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.02584, allocations: 0 / 0.8616 GB, free: 6.574 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0008441/0.02668, allocations: 0.9613 MB / 0.8625 GB, free: 5.586 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.02671, allocations: 12.03 kB / 0.8626 GB, free: 5.574 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.02692, allocations: 112.7 kB / 0.8627 GB, free: 5.465 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.0275, allocations: 0.5118 MB / 0.8632 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.02753, allocations: 45.25 kB / 0.8632 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.02758, allocations: 48.38 kB / 0.8632 GB, free: 4.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.02797, allocations: 0.5166 MB / 0.8638 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.02798, allocations: 4 kB / 0.8638 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.02801, allocations: 16 kB / 0.8638 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.02804, allocations: 20 kB / 0.8638 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.0282, allocations: 137.6 kB / 0.8639 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.02959, allocations: 1.631 MB / 0.8655 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.02974, allocations: 154.3 kB / 0.8657 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.02979, allocations: 47.67 kB / 0.8657 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.02988, allocations: 23.98 kB / 0.8657 GB, free: 2.141 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.0299, allocations: 42.5 kB / 0.8658 GB, free: 2.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.02991, allocations: 0 / 0.8658 GB, free: 2.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0002117/0.03012, allocations: 152 kB / 0.8659 GB, free: 1.938 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.03014, allocations: 55.41 kB / 0.866 GB, free: 1.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.03053, allocations: 0.5054 MB / 0.8665 GB, free: 1.355 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.03055, allocations: 37.7 kB / 0.8665 GB, free: 1.312 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.03068, allocations: 301.9 kB / 0.8668 GB, free: 1.008 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.03072, allocations: 83.27 kB / 0.8669 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.0308, allocations: 98.09 kB / 0.867 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.0309, allocations: 374.6 kB / 0.8673 GB, free: 460 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.03095, allocations: 41.67 kB / 0.8674 GB, free: 416 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.03112, allocations: 345.4 kB / 0.8677 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.03149, allocations: 303.4 kB / 0.868 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.03149, allocations: 4 kB / 0.868 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002733/0.03176, allocations: 288.4 kB / 0.8683 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.03178, allocations: 11.98 kB / 0.8683 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.03179, allocations: 8 kB / 0.8683 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.03181, allocations: 8 kB / 0.8683 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.032, allocations: 95.78 kB / 0.8684 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.03201, allocations: 19.86 kB / 0.8684 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.03218, allocations: 47.67 kB / 0.8684 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.0322, allocations: 20 kB / 0.8685 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001106/0.03231, allocations: 134.8 kB / 0.8686 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001535/0.03247, allocations: 345.5 kB / 0.8689 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000191/0.03266, allocations: 305.9 kB / 0.8692 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.03266, allocations: 4 kB / 0.8692 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0002461/0.03291, allocations: 279.9 kB / 0.8695 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.03291, allocations: 8 kB / 0.8695 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.03292, allocations: 8 kB / 0.8695 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.03293, allocations: 8 kB / 0.8695 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.03309, allocations: 104.4 kB / 0.8696 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.0331, allocations: 15.92 kB / 0.8696 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.03325, allocations: 47.73 kB / 0.8697 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.03327, allocations: 19.98 kB / 0.8697 GB, free: 13.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.03336, allocations: 212.1 kB / 0.8699 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.0334, allocations: 39.95 kB / 0.8699 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.03361, allocations: 165.2 kB / 0.8701 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03362, allocations: 3.938 kB / 0.8701 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.03362, allocations: 4 kB / 0.8701 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001256/0.03375, allocations: 277.4 kB / 0.8703 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.03441, allocations: 0.7271 MB / 0.8711 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.03442, allocations: 4 kB / 0.8711 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.03456, allocations: 51.97 kB / 0.8711 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.03456, allocations: 4 kB / 0.8711 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.03457, allocations: 8.281 kB / 0.8711 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.03458, allocations: 11.92 kB / 0.8711 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03458, allocations: 4 kB / 0.8711 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.03484, allocations: 390.4 kB / 0.8715 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.03494, allocations: 71.53 kB / 0.8716 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.03498, allocations: 8 kB / 0.8716 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.03512, allocations: 12 kB / 0.8716 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.03515, allocations: 31.97 kB / 0.8716 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.03517, allocations: 8 kB / 0.8716 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001655/0.03533, allocations: 247.4 kB / 0.8719 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03533, allocations: 3.938 kB / 0.8719 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005434/0.03588, allocations: 339.2 kB / 0.8722 GB, free: 10.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.03612, allocations: 170.1 kB / 0.8724 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.0364, allocations: 302.2 kB / 0.8727 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.03641, allocations: 8 kB / 0.8727 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.03647, allocations: 75.03 kB / 0.8727 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.03722, allocations: 344.4 kB / 0.8731 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.03837, allocations: 1.001 MB / 0.874 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.49e-05/0.03845, allocations: 145.8 kB / 0.8742 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.03871, allocations: 120.9 kB / 0.8743 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.03913, allocations: 265.1 kB / 0.8745 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.03913, allocations: 0 / 0.8745 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of Templates: time 0.01478/0.05391, allocations: 12.62 MB / 0.8869 GB, free: 12.03 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.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.5449407319538295]