Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009678, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009795/0.0009796, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003106, allocations: 12 kB / 0.8707 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6077, allocations: 153.7 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1548/0.7625, allocations: 147.8 MB / 1.165 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.7696, allocations: 4.285 MB / 1.169 GB, free: 8.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.7705, allocations: 23.81 kB / 1.169 GB, free: 8.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.7717, allocations: 382.2 kB / 1.17 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.7752, allocations: 1.184 MB / 1.171 GB, free: 7.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.7775, allocations: 0.8022 MB / 1.172 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.7793, allocations: 0.9449 MB / 1.173 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007207/0.78, allocations: 388.4 kB / 1.173 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.7811, allocations: 486.4 kB / 1.173 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.7818, allocations: 314.7 kB / 1.174 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.7819, allocations: 20 kB / 1.174 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.7834, allocations: 0.6084 MB / 1.174 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.7837, allocations: 183.5 kB / 1.175 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.784, allocations: 145.4 kB / 1.175 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7852, allocations: 0.7794 MB / 1.175 GB, free: 2.414 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7852, allocations: 0 / 1.175 GB, free: 2.414 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7852, allocations: 4 kB / 1.175 GB, free: 2.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.226e-05/0.7852, allocations: 0 / 1.175 GB, free: 2.41 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001625/0.7869, allocations: 0.8624 MB / 1.176 GB, free: 1.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7869, allocations: 11.98 kB / 1.176 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.7881, allocations: 175 kB / 1.176 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.789, allocations: 0.5092 MB / 1.177 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.789, allocations: 33 kB / 1.177 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.7891, allocations: 55.97 kB / 1.177 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.79, allocations: 466.3 kB / 1.177 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7901, allocations: 0 / 1.177 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.7901, allocations: 16 kB / 1.178 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.7901, allocations: 17 kB / 1.178 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.791, allocations: 423.7 kB / 1.178 GB, free: 15.77 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.7941, allocations: 2.028 MB / 1.18 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.7947, allocations: 310.7 kB / 1.18 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.545e-05/0.7948, allocations: 15.98 kB / 1.18 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.7948, allocations: 34.56 kB / 1.18 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.7948, allocations: 0 / 1.18 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001685/0.7965, allocations: 0.6525 MB / 1.181 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.7966, allocations: 59.39 kB / 1.181 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.7971, allocations: 445.9 kB / 1.181 GB, free: 12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.7971, allocations: 33.7 kB / 1.181 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.7973, allocations: 276.3 kB / 1.182 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.7974, allocations: 110.4 kB / 1.182 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.7975, allocations: 8 kB / 1.182 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7976, allocations: 358.8 kB / 1.182 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.7979, allocations: 131.9 kB / 1.182 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.7983, allocations: 210.5 kB / 1.182 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.7986, allocations: 155.9 kB / 1.183 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7986, allocations: 0 / 1.183 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007619/0.7994, allocations: 416.8 kB / 1.183 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.7996, allocations: 0.5333 MB / 1.184 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7997, allocations: 0 / 1.184 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.7997, allocations: 4 kB / 1.184 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.8, allocations: 67.91 kB / 1.184 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.8001, allocations: 7.938 kB / 1.184 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.8006, allocations: 63.64 kB / 1.184 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.8007, allocations: 12 kB / 1.184 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.8007, allocations: 4 kB / 1.184 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006404/0.8013, allocations: 339.7 kB / 1.184 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.8013, allocations: 0 / 1.184 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.8013, allocations: 4 kB / 1.184 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.8017, allocations: 76.05 kB / 1.184 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8017, allocations: 4 kB / 1.184 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.8022, allocations: 59.7 kB / 1.184 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.8023, allocations: 19.98 kB / 1.184 GB, free: 9.055 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.8026, allocations: 281 kB / 1.184 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/0.8027, allocations: 51.34 kB / 1.184 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008914/0.8036, allocations: 440.6 kB / 1.185 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8036, allocations: 4 kB / 1.185 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8036, allocations: 0 / 1.185 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007132/0.8043, allocations: 457.4 kB / 1.185 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.8062, allocations: 1.137 MB / 1.186 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8063, allocations: 0 / 1.186 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.8066, allocations: 64.11 kB / 1.186 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.8068, allocations: 48.83 kB / 1.187 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.8069, allocations: 11.95 kB / 1.187 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.8081, allocations: 1.449 MB / 1.188 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.8082, allocations: 3.938 kB / 1.188 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.8094, allocations: 0.7789 MB / 1.189 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.8096, allocations: 168.4 kB / 1.189 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.8097, allocations: 15.98 kB / 1.189 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.8102, allocations: 39.95 kB / 1.189 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.8103, allocations: 27.92 kB / 1.189 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.8103, allocations: 12 kB / 1.189 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003577/0.8107, allocations: 314.9 kB / 1.189 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8107, allocations: 3.938 kB / 1.189 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009215/0.8116, allocations: 307.2 kB / 1.19 GB, free: 3.121 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.8121, allocations: 188.8 kB / 1.19 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009977/0.8131, allocations: 0.5001 MB / 1.19 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8131, allocations: 0 / 1.19 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.8136, allocations: 300.3 kB / 1.191 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.8152, allocations: 303.1 kB / 1.191 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.8174, allocations: 1.357 MB / 1.192 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.8182, allocations: 0.9134 MB / 1.193 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008289/0.819, allocations: 156.4 kB / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.8192, allocations: 39.44 kB / 1.193 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.8192, allocations: 0 / 1.193 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.01685/0.836, allocations: 9.487 MB / 1.202 GB, free: 5.957 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches