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.001172/0.001172, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001046/0.001046, allocations: 170 kB / 23.27 MB, free: 1.223 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 0.9946/0.9946, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.468/2.468, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.314e-06/2.314e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.361e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.01312/0.01314, allocations: 9.916 MB / 0.8994 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007683/0.02082, allocations: 5.111 MB / 0.9044 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.02184, allocations: 55.5 kB / 0.9045 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.02252, allocations: 242.2 kB / 0.9047 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.02446, allocations: 0.9012 MB / 0.9056 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.0267, allocations: 1.141 MB / 0.9067 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.02908, allocations: 2.135 MB / 0.9088 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.02987, allocations: 0.507 MB / 0.9093 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.03154, allocations: 1.04 MB / 0.9103 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007414/0.03228, allocations: 0.4945 MB / 0.9108 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/0.03238, allocations: 56 kB / 0.9108 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008106/0.03319, allocations: 487 kB / 0.9113 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.03335, allocations: 199.1 kB / 0.9115 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.03359, allocations: 267.4 kB / 0.9117 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.03464, allocations: 0.8291 MB / 0.9125 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.03465, allocations: 0 / 0.9125 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.644e-06/0.03465, allocations: 0 / 0.9125 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.03466, allocations: 0 / 0.9125 GB, free: 2.336 MB / 0.8698 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.001131/0.03579, allocations: 1.109 MB / 0.9136 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.03583, allocations: 8.031 kB / 0.9136 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.03609, allocations: 144.2 kB / 0.9138 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.03671, allocations: 0.5937 MB / 0.9144 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.03674, allocations: 41.31 kB / 0.9144 GB, free: 384 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.03679, allocations: 56.38 kB / 0.9145 GB, free: 328 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.03724, allocations: 0.527 MB / 0.915 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.03725, allocations: 0 / 0.915 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.03728, allocations: 20 kB / 0.915 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.03731, allocations: 15.94 kB / 0.915 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.03748, allocations: 142.8 kB / 0.9151 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.03916, allocations: 2.278 MB / 0.9174 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.03933, allocations: 119 kB / 0.9175 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.03938, allocations: 47.73 kB / 0.9175 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.03949, allocations: 42.44 kB / 0.9176 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.03951, allocations: 41.38 kB / 0.9176 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.03951, allocations: 0 / 0.9176 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0002892/0.0398, allocations: 203.4 kB / 0.9178 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.03983, allocations: 55.34 kB / 0.9178 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.0402, allocations: 0.5655 MB / 0.9184 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.04022, allocations: 29.7 kB / 0.9184 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.04044, allocations: 427.3 kB / 0.9188 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.0405, allocations: 83.27 kB / 0.9189 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.04059, allocations: 103.8 kB / 0.919 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.04077, allocations: 0.5468 MB / 0.9195 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.04083, allocations: 41.66 kB / 0.9196 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.04106, allocations: 430.3 kB / 0.92 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.04135, allocations: 378.3 kB / 0.9204 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.04136, allocations: 4 kB / 0.9204 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003606/0.04172, allocations: 353.3 kB / 0.9207 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.04174, allocations: 11.94 kB / 0.9207 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.04175, allocations: 12.03 kB / 0.9207 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.04176, allocations: 8 kB / 0.9207 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.04193, allocations: 99.77 kB / 0.9208 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.04194, allocations: 15.94 kB / 0.9208 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.04212, allocations: 47.62 kB / 0.9209 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.04214, allocations: 16 kB / 0.9209 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001309/0.04227, allocations: 175.8 kB / 0.9211 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002377/0.04251, allocations: 430.3 kB / 0.9215 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002377/0.04274, allocations: 386 kB / 0.9218 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.04275, allocations: 4 kB / 0.9218 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0003124/0.04306, allocations: 357 kB / 0.9222 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.04307, allocations: 8 kB / 0.9222 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.04307, allocations: 4 kB / 0.9222 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.04308, allocations: 12 kB / 0.9222 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.04326, allocations: 91.84 kB / 0.9223 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.04327, allocations: 11.98 kB / 0.9223 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.04342, allocations: 35.78 kB / 0.9223 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.04344, allocations: 20.31 kB / 0.9224 GB, free: 7.406 MB / 0.8855 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 0.0001196/0.04356, allocations: 307.9 kB / 0.9227 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.04362, allocations: 71.56 kB / 0.9227 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.04386, allocations: 201 kB / 0.9229 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.04387, allocations: 0 / 0.9229 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.04387, allocations: 0 / 0.9229 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001598/0.04403, allocations: 297.4 kB / 0.9232 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.04492, allocations: 0.8434 MB / 0.924 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.04493, allocations: 4 kB / 0.924 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.04504, allocations: 51.91 kB / 0.9241 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.04504, allocations: 4 kB / 0.9241 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.04506, allocations: 8 kB / 0.9241 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.04506, allocations: 4 kB / 0.9241 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.04506, allocations: 7.938 kB / 0.9241 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.04541, allocations: 463.1 kB / 0.9245 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.04552, allocations: 87.52 kB / 0.9246 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.04555, allocations: 8 kB / 0.9246 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.0457, allocations: 19.94 kB / 0.9247 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.04572, allocations: 19.91 kB / 0.9247 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.04574, allocations: 19.98 kB / 0.9247 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001982/0.04594, allocations: 346.9 kB / 0.925 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.04594, allocations: 3.938 kB / 0.925 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006292/0.04657, allocations: 339.3 kB / 0.9253 GB, free: 4.156 MB / 0.8855 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.0002481/0.04682, allocations: 191 kB / 0.9255 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.04714, allocations: 326.8 kB / 0.9258 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.04714, allocations: 0 / 0.9258 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.04722, allocations: 79.7 kB / 0.9259 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.04803, allocations: 345.2 kB / 0.9262 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.04927, allocations: 1.038 MB / 0.9273 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.04954, allocations: 142.1 kB / 0.9274 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.04984, allocations: 116.9 kB / 0.9275 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.05028, allocations: 329.9 kB / 0.9278 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of SimCode: time 6.32e-07/0.05029, allocations: 4 kB / 0.9278 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of Templates: time 0.01434/0.06462, allocations: 12.62 MB / 0.9402 GB, free: 5.191 MB / 0.9011 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 -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.851718299090862]