Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006878/0.006878, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001363/0.001363, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 68.03 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9178/1.198, allocations: 170.8 MB / 1.392 GB, free: 9.906 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00595/1.204, allocations: 3.374 MB / 1.396 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/1.205, allocations: 21.72 kB / 1.396 GB, free: 7.164 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009445/1.206, allocations: 320.2 kB / 1.396 GB, free: 6.902 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002751/1.208, allocations: 1.022 MB / 1.397 GB, free: 6.105 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/1.21, allocations: 0.6632 MB / 1.398 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00205/1.212, allocations: 1.523 MB / 1.399 GB, free: 4.734 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006706/1.213, allocations: 484.1 kB / 1.4 GB, free: 4.445 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/1.214, allocations: 0.5626 MB / 1.4 GB, free: 4.113 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/1.215, allocations: 468.4 kB / 1.401 GB, free: 3.848 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/1.215, allocations: 53.91 kB / 1.401 GB, free: 3.848 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/1.217, allocations: 0.8305 MB / 1.401 GB, free: 3.402 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/1.217, allocations: 243.6 kB / 1.402 GB, free: 3.238 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/1.218, allocations: 331.2 kB / 1.402 GB, free: 3.035 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/1.22, allocations: 1.14 MB / 1.403 GB, free: 2.301 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.22, allocations: 1.062 kB / 1.403 GB, free: 2.301 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.22, allocations: 0 / 1.403 GB, free: 2.301 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.22, allocations: 0 / 1.403 GB, free: 2.301 MB / 1.092 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.001483/1.221, allocations: 0.935 MB / 1.404 GB, free: 1.527 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.221, allocations: 9.5 kB / 1.404 GB, free: 1.527 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.222, allocations: 172 kB / 1.404 GB, free: 1.453 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/1.223, allocations: 0.5245 MB / 1.405 GB, free: 1.012 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/1.223, allocations: 33.78 kB / 1.405 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/1.223, allocations: 48.7 kB / 1.405 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/1.224, allocations: 473.5 kB / 1.405 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.224, allocations: 0 / 1.405 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/1.224, allocations: 20.47 kB / 1.405 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/1.224, allocations: 15.59 kB / 1.405 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/1.225, allocations: 420.6 kB / 1.406 GB, free: 500 kB / 1.092 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.002571/1.228, allocations: 1.722 MB / 1.407 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/1.228, allocations: 300 kB / 1.408 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/1.228, allocations: 178.8 kB / 1.408 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/1.229, allocations: 99.75 kB / 1.408 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.229, allocations: 41.38 kB / 1.408 GB, free: 14.65 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/1.229, allocations: 0 / 1.408 GB, free: 14.65 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002095/1.231, allocations: 1.064 MB / 1.409 GB, free: 13.95 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.231, allocations: 63.45 kB / 1.409 GB, free: 13.88 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/1.231, allocations: 456.1 kB / 1.41 GB, free: 13.61 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/1.231, allocations: 36.02 kB / 1.41 GB, free: 13.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/1.231, allocations: 256.2 kB / 1.41 GB, free: 13.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.232, allocations: 128.8 kB / 1.41 GB, free: 13.23 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.232, allocations: 70.66 kB / 1.41 GB, free: 13.18 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.232, allocations: 354 kB / 1.41 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.232, allocations: 126.7 kB / 1.41 GB, free: 12.77 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.232, allocations: 199.2 kB / 1.411 GB, free: 12.64 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/1.234, allocations: 0.8678 MB / 1.411 GB, free: 12.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.234, allocations: 0 / 1.411 GB, free: 12.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005944/1.235, allocations: 414.8 kB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.235, allocations: 5.5 kB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.235, allocations: 4.125 kB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.235, allocations: 8.969 kB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/1.235, allocations: 71.31 kB / 1.412 GB, free: 11.87 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.235, allocations: 2.125 kB / 1.412 GB, free: 11.87 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/1.236, allocations: 9.969 kB / 1.412 GB, free: 11.87 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.236, allocations: 13.56 kB / 1.412 GB, free: 11.86 MB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002489/1.236, allocations: 222.4 kB / 1.412 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/1.236, allocations: 58.02 kB / 1.412 GB, free: 11.65 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/1.236, allocations: 60.48 kB / 1.412 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.236, allocations: 10.86 kB / 1.412 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.236, allocations: 0 / 1.412 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004684/1.237, allocations: 404.5 kB / 1.413 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.238, allocations: 1.241 MB / 1.414 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.239, allocations: 11.31 kB / 1.414 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/1.239, allocations: 76.34 kB / 1.414 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.239, allocations: 6.844 kB / 1.414 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/1.239, allocations: 13.86 kB / 1.414 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.239, allocations: 5.688 kB / 1.414 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.239, allocations: 7.781 kB / 1.414 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/1.24, allocations: 0.7061 MB / 1.415 GB, free: 9.797 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/1.24, allocations: 170.4 kB / 1.415 GB, free: 9.641 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/1.24, allocations: 12.34 kB / 1.415 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/1.241, allocations: 16.58 kB / 1.415 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.241, allocations: 32.73 kB / 1.415 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/1.241, allocations: 23.98 kB / 1.415 GB, free: 9.602 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003529/1.241, allocations: 328.7 kB / 1.415 GB, free: 9.402 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.241, allocations: 0 / 1.415 GB, free: 9.402 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005896/1.242, allocations: 135.9 kB / 1.415 GB, free: 9.395 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0004288/1.242, allocations: 181.4 kB / 1.416 GB, free: 9.266 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005603/1.243, allocations: 319.8 kB / 1.416 GB, free: 9.125 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/1.243, allocations: 1.406 kB / 1.416 GB, free: 9.125 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/1.243, allocations: 170 kB / 1.416 GB, free: 9.047 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.244, allocations: 362.9 kB / 1.416 GB, free: 8.871 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/1.246, allocations: 1.142 MB / 1.418 GB, free: 8.043 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.247, allocations: 0.8898 MB / 1.418 GB, free: 7.246 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004152/1.247, allocations: 127.5 kB / 1.419 GB, free: 7.195 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.247, allocations: 47.58 kB / 1.419 GB, free: 7.184 MB / 1.107 GB Notification: Performance of SimCode: time 2.7e-07/1.247, allocations: 4 kB / 1.419 GB, free: 7.18 MB / 1.107 GB Notification: Performance of Templates: time 0.01776/1.265, allocations: 11.14 MB / 1.429 GB, free: 13.2 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches