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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 192.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 69.91 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3381, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1853/0.5234, allocations: 177.2 MB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.5302, allocations: 4.392 MB / 1.245 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.5311, allocations: 27.81 kB / 1.245 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5321, allocations: 361.7 kB / 1.246 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.5351, allocations: 1.248 MB / 1.247 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.537, allocations: 0.6884 MB / 1.248 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.5389, allocations: 1.633 MB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6666/1.206, allocations: 0.5086 MB / 1.25 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/1.207, allocations: 0.6757 MB / 1.25 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/1.208, allocations: 496.9 kB / 1.251 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/1.208, allocations: 52.59 kB / 1.251 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/1.211, allocations: 1.283 MB / 1.252 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/1.211, allocations: 237.9 kB / 1.252 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005334/1.212, allocations: 352 kB / 1.253 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/1.214, allocations: 1.27 MB / 1.254 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.214, allocations: 1.703 kB / 1.254 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.856e-06/1.214, allocations: 0 / 1.254 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.375e-05/1.214, allocations: 1.844 kB / 1.254 GB, free: 6.934 MB / 0.9981 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.002048/1.216, allocations: 1.002 MB / 1.255 GB, free: 22.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.216, allocations: 10.16 kB / 1.255 GB, free: 22.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.218, allocations: 167.4 kB / 1.255 GB, free: 22.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/1.218, allocations: 0.5301 MB / 1.256 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/1.218, allocations: 30.16 kB / 1.256 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/1.219, allocations: 45.41 kB / 1.256 GB, free: 22.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/1.219, allocations: 468.8 kB / 1.256 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.219, allocations: 3.609 kB / 1.256 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/1.22, allocations: 19.75 kB / 1.256 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/1.22, allocations: 19.45 kB / 1.256 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/1.22, allocations: 415.3 kB / 1.257 GB, free: 22 MB / 1.014 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.002567/1.223, allocations: 2.05 MB / 1.259 GB, free: 21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/1.223, allocations: 287.6 kB / 1.259 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/1.224, allocations: 190.2 kB / 1.259 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/1.224, allocations: 189.5 kB / 1.259 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.224, allocations: 38.48 kB / 1.259 GB, free: 20.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/1.224, allocations: 0.9688 kB / 1.259 GB, free: 20.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001619/1.226, allocations: 0.6431 MB / 1.26 GB, free: 20.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.226, allocations: 54.73 kB / 1.26 GB, free: 20.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/1.226, allocations: 445.9 kB / 1.26 GB, free: 20.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/1.226, allocations: 31.77 kB / 1.26 GB, free: 20.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.227, allocations: 281.6 kB / 1.261 GB, free: 20.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.227, allocations: 110.5 kB / 1.261 GB, free: 20.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.227, allocations: 66.91 kB / 1.261 GB, free: 20.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.227, allocations: 362.2 kB / 1.261 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/1.227, allocations: 135.2 kB / 1.261 GB, free: 19.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/1.228, allocations: 202.5 kB / 1.262 GB, free: 19.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/1.228, allocations: 332.5 kB / 1.262 GB, free: 19.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.228, allocations: 2.688 kB / 1.262 GB, free: 19.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007166/1.229, allocations: 405.4 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.229, allocations: 5.219 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.229, allocations: 2.594 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.229, allocations: 4.625 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/1.229, allocations: 68.36 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.229, allocations: 5.766 kB / 1.262 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/1.23, allocations: 40.88 kB / 1.262 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/1.23, allocations: 15.28 kB / 1.262 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004022/1.23, allocations: 293.9 kB / 1.263 GB, free: 19.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002709/1.231, allocations: 202.2 kB / 1.263 GB, free: 19.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004901/1.231, allocations: 333.5 kB / 1.263 GB, free: 19.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/1.231, allocations: 0.9375 kB / 1.263 GB, free: 19.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006535/1.232, allocations: 397.2 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/1.232, allocations: 5.594 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.232, allocations: 5.062 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.232, allocations: 4.672 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.232, allocations: 67.05 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.232, allocations: 6.828 kB / 1.264 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/1.233, allocations: 38.16 kB / 1.264 GB, free: 19.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/1.233, allocations: 14.17 kB / 1.264 GB, free: 19.35 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.233, allocations: 200 kB / 1.264 GB, free: 19.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/1.233, allocations: 48.69 kB / 1.264 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/1.234, allocations: 421.6 kB / 1.264 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.234, allocations: 2.656 kB / 1.264 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.234, allocations: 3.656 kB / 1.264 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006828/1.234, allocations: 441.8 kB / 1.265 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/1.236, allocations: 1.135 MB / 1.266 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.236, allocations: 2.672 kB / 1.266 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/1.237, allocations: 58.64 kB / 1.266 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/1.237, allocations: 54.17 kB / 1.266 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/1.237, allocations: 7.609 kB / 1.266 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.238, allocations: 1.547 MB / 1.268 GB, free: 17.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.238, allocations: 3.844 kB / 1.268 GB, free: 17.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/1.239, allocations: 0.7013 MB / 1.268 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/1.239, allocations: 165.7 kB / 1.268 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/1.24, allocations: 8.797 kB / 1.268 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/1.24, allocations: 21.84 kB / 1.268 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.24, allocations: 25.94 kB / 1.268 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/1.24, allocations: 15.66 kB / 1.268 GB, free: 16.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004418/1.241, allocations: 314.3 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.241, allocations: 0.9062 kB / 1.269 GB, free: 16.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009414/1.242, allocations: 302.1 kB / 1.269 GB, free: 16.7 MB / 1.014 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004614/1.242, allocations: 192.5 kB / 1.269 GB, free: 16.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.243, allocations: 0.5071 MB / 1.27 GB, free: 16.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.243, allocations: 1.812 kB / 1.27 GB, free: 16.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/1.244, allocations: 285 kB / 1.27 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.245, allocations: 319 kB / 1.27 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/1.247, allocations: 1.095 MB / 1.271 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/1.248, allocations: 0.9001 MB / 1.272 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006362/1.248, allocations: 156 kB / 1.272 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.248, allocations: 40.12 kB / 1.272 GB, free: 15.27 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/1.248, allocations: 6.172 kB / 1.272 GB, free: 15.27 MB / 1.014 GB Notification: Performance of Templates: time 0.02066/1.269, allocations: 10.21 MB / 1.282 GB, free: 14.83 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches