Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0011/0.0011, 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.001026/0.001026, allocations: 173 kB / 24.28 MB, free: 280 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.594 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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.631e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02046/0.02048, allocations: 27.27 MB / 0.8381 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.009184/0.02966, allocations: 7.273 MB / 0.8453 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008836/0.03054, allocations: 51.56 kB / 0.8453 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.03153, allocations: 389.3 kB / 0.8457 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.03394, allocations: 1.22 MB / 0.8469 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.03607, allocations: 0.9893 MB / 0.8478 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.03857, allocations: 2.151 MB / 0.8499 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007693/0.03934, allocations: 0.5092 MB / 0.8504 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.04127, allocations: 1.134 MB / 0.8515 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006903/0.04196, allocations: 0.4983 MB / 0.852 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.963e-05/0.04205, allocations: 60 kB / 0.8521 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.04321, allocations: 0.6781 MB / 0.8527 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.04338, allocations: 183.2 kB / 0.8529 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.04365, allocations: 267.3 kB / 0.8532 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.04502, allocations: 0.9577 MB / 0.8541 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.04502, allocations: 0 / 0.8541 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.042e-06/0.04502, allocations: 4 kB / 0.8541 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.04503, allocations: 0 / 0.8541 GB, free: 6.398 MB / 0.8073 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.001284/0.04631, allocations: 1.105 MB / 0.8552 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.04635, allocations: 12.03 kB / 0.8552 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.04669, allocations: 144.2 kB / 0.8553 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.0477, allocations: 0.6911 MB / 0.856 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.04773, allocations: 33.36 kB / 0.856 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.0478, allocations: 48.38 kB / 0.8561 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.04842, allocations: 0.5544 MB / 0.8566 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.04844, allocations: 0 / 0.8566 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.04848, allocations: 20 kB / 0.8567 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.04851, allocations: 12 kB / 0.8567 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.04885, allocations: 169.8 kB / 0.8568 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.05084, allocations: 2.239 MB / 0.859 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.05107, allocations: 130 kB / 0.8591 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.05116, allocations: 55.66 kB / 0.8592 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.05129, allocations: 35.97 kB / 0.8592 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.05132, allocations: 41.39 kB / 0.8593 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.05132, allocations: 0 / 0.8593 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0004152/0.05173, allocations: 215.6 kB / 0.8595 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.05177, allocations: 63.33 kB / 0.8595 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.05226, allocations: 0.5298 MB / 0.86 GB, free: 36 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.0523, allocations: 33.86 kB / 0.8601 GB, free: 15.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.05252, allocations: 398.8 kB / 0.8605 GB, free: 15.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.05258, allocations: 83.19 kB / 0.8605 GB, free: 15.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.05269, allocations: 91.3 kB / 0.8606 GB, free: 15.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.05284, allocations: 0.5352 MB / 0.8611 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.05293, allocations: 47.66 kB / 0.8612 GB, free: 14.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.05316, allocations: 356.8 kB / 0.8615 GB, free: 14.36 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.05346, allocations: 296 kB / 0.8618 GB, free: 14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.05346, allocations: 0 / 0.8618 GB, free: 14 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004424/0.0539, allocations: 321.2 kB / 0.8621 GB, free: 13.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.05392, allocations: 8 kB / 0.8621 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.05393, allocations: 4 kB / 0.8621 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.05394, allocations: 7.938 kB / 0.8621 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.05416, allocations: 83.89 kB / 0.8622 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.05417, allocations: 7.938 kB / 0.8622 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.0544, allocations: 39.73 kB / 0.8623 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.05442, allocations: 16 kB / 0.8623 GB, free: 13.51 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001684/0.05459, allocations: 174.8 kB / 0.8624 GB, free: 13.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002157/0.05481, allocations: 344.2 kB / 0.8628 GB, free: 12.89 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002864/0.05509, allocations: 309.7 kB / 0.8631 GB, free: 12.51 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.05509, allocations: 4 kB / 0.8631 GB, free: 12.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004213/0.05552, allocations: 308.8 kB / 0.8634 GB, free: 12.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.05553, allocations: 8 kB / 0.8634 GB, free: 12.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.05553, allocations: 4 kB / 0.8634 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.05554, allocations: 8 kB / 0.8634 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.05573, allocations: 83.83 kB / 0.8635 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.05573, allocations: 4.531 kB / 0.8635 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.05595, allocations: 39.78 kB / 0.8635 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.05597, allocations: 16 kB / 0.8635 GB, free: 12.04 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001321/0.0561, allocations: 295.9 kB / 0.8638 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.0562, allocations: 63.62 kB / 0.8639 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.05655, allocations: 210.3 kB / 0.8641 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.05655, allocations: 7.984 kB / 0.8641 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.05656, allocations: 0 / 0.8641 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002401/0.0568, allocations: 309.4 kB / 0.8644 GB, free: 11.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.05782, allocations: 0.82 MB / 0.8652 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.05782, allocations: 4 kB / 0.8652 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.05798, allocations: 55.91 kB / 0.8652 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.05799, allocations: 4 kB / 0.8652 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.058, allocations: 7.938 kB / 0.8652 GB, free: 10.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.05801, allocations: 7.984 kB / 0.8653 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.05801, allocations: 4.281 kB / 0.8653 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.0585, allocations: 466.3 kB / 0.8657 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.05864, allocations: 95.58 kB / 0.8658 GB, free: 9.516 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.05869, allocations: 8 kB / 0.8658 GB, free: 9.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.05892, allocations: 15.98 kB / 0.8658 GB, free: 9.492 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.05895, allocations: 27.89 kB / 0.8658 GB, free: 9.465 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.05897, allocations: 12 kB / 0.8659 GB, free: 9.453 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004298/0.0594, allocations: 350.7 kB / 0.8662 GB, free: 9.113 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.0594, allocations: 0 / 0.8662 GB, free: 9.113 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000869/0.06027, allocations: 375.1 kB / 0.8665 GB, free: 8.746 MB / 0.823 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.0004187/0.06069, allocations: 298.6 kB / 0.8668 GB, free: 8.445 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.06119, allocations: 300.5 kB / 0.8671 GB, free: 8.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.06119, allocations: 4 kB / 0.8671 GB, free: 8.145 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.0613, allocations: 79.47 kB / 0.8672 GB, free: 8.062 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.06243, allocations: 363.8 kB / 0.8675 GB, free: 7.723 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.06392, allocations: 0.9948 MB / 0.8685 GB, free: 6.656 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.06403, allocations: 142 kB / 0.8686 GB, free: 6.496 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004873/0.06452, allocations: 136.8 kB / 0.8688 GB, free: 6.359 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.06461, allocations: 56.48 kB / 0.8688 GB, free: 6.305 MB / 0.823 GB Notification: Performance of SimCode: time 8.52e-07/0.06461, allocations: 4 kB / 0.8688 GB, free: 6.301 MB / 0.823 GB Notification: Performance of Templates: time 0.01776/0.08237, allocations: 12.53 MB / 0.8811 GB, free: 10.07 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.495378157822415]