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.001867/0.001867, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.002556/0.002556, allocations: 169.4 kB / 24.06 MB, free: 456 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.115/1.115, allocations: 177.1 MB / 204.5 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.205/2.205, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 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 1.503e-06/1.503e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.818e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.01003/0.01006, allocations: 9.931 MB / 0.8891 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008882/0.01894, allocations: 5.116 MB / 0.8941 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.02045, allocations: 51.56 kB / 0.8941 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.02121, allocations: 242.1 kB / 0.8944 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.02343, allocations: 0.8895 MB / 0.8952 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.02601, allocations: 1.149 MB / 0.8964 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.02921, allocations: 2.143 MB / 0.8984 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.03007, allocations: 0.5032 MB / 0.8989 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.03202, allocations: 1.039 MB / 0.9 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.03283, allocations: 0.4984 MB / 0.9004 GB, free: 444 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.84e-05/0.03293, allocations: 56 kB / 0.9005 GB, free: 388 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000951/0.03388, allocations: 491 kB / 0.901 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.03407, allocations: 195.1 kB / 0.9011 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.03436, allocations: 263.4 kB / 0.9014 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.03583, allocations: 0.833 MB / 0.9022 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.03584, allocations: 0 / 0.9022 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.03584, allocations: 0 / 0.9022 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.03585, allocations: 0 / 0.9022 GB, free: 14.61 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.00126/0.03711, allocations: 1.098 MB / 0.9033 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.03715, allocations: 8.031 kB / 0.9033 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.03746, allocations: 152.2 kB / 0.9034 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.0382, allocations: 0.5936 MB / 0.904 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.03823, allocations: 45.3 kB / 0.9041 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.03829, allocations: 52.38 kB / 0.9041 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.03877, allocations: 0.5309 MB / 0.9046 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.03879, allocations: 0 / 0.9046 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.03882, allocations: 16 kB / 0.9046 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.03885, allocations: 12 kB / 0.9047 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.03904, allocations: 142.8 kB / 0.9048 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.04102, allocations: 2.278 MB / 0.907 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.04121, allocations: 123.1 kB / 0.9071 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.04126, allocations: 47.64 kB / 0.9072 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.04138, allocations: 31.97 kB / 0.9072 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.04142, allocations: 41.39 kB / 0.9072 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.04142, allocations: 0 / 0.9072 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.000324/0.04174, allocations: 195.5 kB / 0.9074 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.04178, allocations: 55.34 kB / 0.9075 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.04229, allocations: 0.5655 MB / 0.908 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.04231, allocations: 33.7 kB / 0.9081 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.04254, allocations: 423.3 kB / 0.9085 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.04259, allocations: 87.27 kB / 0.9086 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.04269, allocations: 103.8 kB / 0.9087 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.04285, allocations: 0.5428 MB / 0.9092 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.04292, allocations: 49.66 kB / 0.9092 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.04315, allocations: 422.3 kB / 0.9096 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.04343, allocations: 378.8 kB / 0.91 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.04343, allocations: 0 / 0.91 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003706/0.0438, allocations: 361.2 kB / 0.9103 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.04383, allocations: 16 kB / 0.9104 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.04384, allocations: 12 kB / 0.9104 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.04386, allocations: 11.94 kB / 0.9104 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.04405, allocations: 95.83 kB / 0.9105 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.04405, allocations: 8 kB / 0.9105 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.0443, allocations: 51.62 kB / 0.9105 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.04432, allocations: 16 kB / 0.9105 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001533/0.04447, allocations: 175.8 kB / 0.9107 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004983/0.04497, allocations: 426.8 kB / 0.9111 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002609/0.04523, allocations: 394.8 kB / 0.9115 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.04523, allocations: 0 / 0.9115 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0003339/0.04557, allocations: 369 kB / 0.9118 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.04558, allocations: 10.34 kB / 0.9119 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.04558, allocations: 4 kB / 0.9119 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.04559, allocations: 12 kB / 0.9119 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.04574, allocations: 87.84 kB / 0.912 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.04575, allocations: 15.92 kB / 0.912 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.04593, allocations: 36.19 kB / 0.912 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.04595, allocations: 24 kB / 0.912 GB, free: 3.676 MB / 0.8698 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.000147/0.0461, allocations: 299.9 kB / 0.9123 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.04617, allocations: 71.56 kB / 0.9124 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.04643, allocations: 191 kB / 0.9126 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.04644, allocations: 4.094 kB / 0.9126 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.04644, allocations: 3.984 kB / 0.9126 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001732/0.04662, allocations: 303.6 kB / 0.9129 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.0475, allocations: 0.8334 MB / 0.9137 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.0475, allocations: 4 kB / 0.9137 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.04763, allocations: 59.91 kB / 0.9137 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.04763, allocations: 4 kB / 0.9137 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.04764, allocations: 4 kB / 0.9137 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.04764, allocations: 4 kB / 0.9138 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.04764, allocations: 0 / 0.9138 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.04802, allocations: 469.2 kB / 0.9142 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.04814, allocations: 87.52 kB / 0.9143 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.04818, allocations: 8 kB / 0.9143 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.04834, allocations: 15.98 kB / 0.9143 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.04837, allocations: 27.84 kB / 0.9143 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.04839, allocations: 15.98 kB / 0.9143 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002179/0.04861, allocations: 350.8 kB / 0.9147 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04861, allocations: 0 / 0.9147 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008479/0.04946, allocations: 343.2 kB / 0.915 GB, free: 444 kB / 0.8698 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.0003717/0.04983, allocations: 191 kB / 0.9152 GB, free: 240 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004479/0.05028, allocations: 327.9 kB / 0.9155 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.05028, allocations: 448 / 0.9155 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.05036, allocations: 75.52 kB / 0.9156 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.05128, allocations: 349.4 kB / 0.9159 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.05282, allocations: 1.042 MB / 0.9169 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.05292, allocations: 142.1 kB / 0.9171 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003531/0.05327, allocations: 117 kB / 0.9172 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.05376, allocations: 329.9 kB / 0.9175 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of SimCode: time 1.442e-06/0.05376, allocations: 0 / 0.9175 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of Templates: time 0.01803/0.07179, allocations: 12.77 MB / 0.93 GB, free: 1.324 MB / 0.8855 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: 6.121450587641448]