Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_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.005544/0.005544, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001191/0.001191, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.396/1.396, 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 9.1.3-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.48 kB / 0.9508 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1785/0.494, allocations: 170.8 MB / 1.255 GB, free: 6.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00564/0.4997, allocations: 3.383 MB / 1.258 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.5004, allocations: 19.88 kB / 1.258 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009847/0.5015, allocations: 330.1 kB / 1.258 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.5041, allocations: 1.058 MB / 1.259 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.5059, allocations: 0.669 MB / 1.26 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.6563/1.162, allocations: 1.523 MB / 1.262 GB, free: 4.586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.163, allocations: 476 kB / 1.262 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/1.165, allocations: 0.5929 MB / 1.263 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/1.166, allocations: 467.7 kB / 1.263 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/1.166, allocations: 53.59 kB / 1.263 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/1.167, allocations: 0.8369 MB / 1.264 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/1.168, allocations: 236.7 kB / 1.264 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/1.168, allocations: 336.2 kB / 1.264 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/1.17, allocations: 1.132 MB / 1.266 GB, free: 4.559 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.17, allocations: 1.938 kB / 1.266 GB, free: 4.559 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.624e-06/1.17, allocations: 0 / 1.266 GB, free: 4.559 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.664e-05/1.17, allocations: 1 kB / 1.266 GB, free: 4.559 MB / 1.014 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.001408/1.171, allocations: 0.9098 MB / 1.266 GB, free: 4.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.171, allocations: 11.19 kB / 1.266 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/1.173, allocations: 174.6 kB / 1.267 GB, free: 3.988 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/1.174, allocations: 0.5177 MB / 1.267 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.174, allocations: 38.17 kB / 1.267 GB, free: 3.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/1.174, allocations: 45.58 kB / 1.267 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008186/1.174, allocations: 474.6 kB / 1.268 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/1.175, allocations: 0.9062 kB / 1.268 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/1.175, allocations: 18.81 kB / 1.268 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/1.175, allocations: 17.09 kB / 1.268 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/1.175, allocations: 415.6 kB / 1.268 GB, free: 3.691 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.002519/1.178, allocations: 1.727 MB / 1.27 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/1.178, allocations: 296.3 kB / 1.27 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/1.179, allocations: 181.8 kB / 1.27 GB, free: 2.906 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/1.179, allocations: 100.8 kB / 1.27 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.179, allocations: 41.77 kB / 1.27 GB, free: 2.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/1.179, allocations: 1.562 kB / 1.27 GB, free: 2.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00236/1.181, allocations: 1.055 MB / 1.271 GB, free: 2.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.181, allocations: 55.88 kB / 1.271 GB, free: 2.348 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/1.182, allocations: 457.1 kB / 1.272 GB, free: 2.227 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.182, allocations: 35.89 kB / 1.272 GB, free: 2.195 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.182, allocations: 251.9 kB / 1.272 GB, free: 2.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.183, allocations: 115.2 kB / 1.272 GB, free: 1.996 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.183, allocations: 72.78 kB / 1.272 GB, free: 1.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003272/1.183, allocations: 355.9 kB / 1.273 GB, free: 17.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/1.183, allocations: 128.6 kB / 1.273 GB, free: 17.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/1.184, allocations: 193.8 kB / 1.273 GB, free: 17.61 MB / 1.029 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.002262/1.186, allocations: 0.8631 MB / 1.274 GB, free: 17.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.186, allocations: 1.094 kB / 1.274 GB, free: 17.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007853/1.187, allocations: 418.2 kB / 1.274 GB, free: 17.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.187, allocations: 9.688 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/1.187, allocations: 1.031 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.187, allocations: 8.641 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.187, allocations: 72.48 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.187, allocations: 6.141 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/1.187, allocations: 14.2 kB / 1.274 GB, free: 17.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/1.188, allocations: 13.97 kB / 1.274 GB, free: 17.38 MB / 1.029 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.0002581/1.188, allocations: 210.6 kB / 1.275 GB, free: 17.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/1.188, allocations: 53.8 kB / 1.275 GB, free: 17.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.188, allocations: 61.59 kB / 1.275 GB, free: 17.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.188, allocations: 7.781 kB / 1.275 GB, free: 17.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.188, allocations: 0.7031 kB / 1.275 GB, free: 17.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005111/1.189, allocations: 409.2 kB / 1.275 GB, free: 17.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.19, allocations: 1.24 MB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.19, allocations: 4.922 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/1.191, allocations: 76.12 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.191, allocations: 9.75 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.191, allocations: 12.55 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.191, allocations: 6.828 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.191, allocations: 11.28 kB / 1.276 GB, free: 16.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/1.192, allocations: 0.6984 MB / 1.277 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/1.192, allocations: 174.1 kB / 1.277 GB, free: 16.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/1.192, allocations: 12.62 kB / 1.277 GB, free: 16.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/1.193, allocations: 22.69 kB / 1.277 GB, free: 16.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/1.193, allocations: 34.72 kB / 1.277 GB, free: 16.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/1.193, allocations: 20.11 kB / 1.277 GB, free: 16.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004153/1.193, allocations: 329.2 kB / 1.278 GB, free: 16.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.193, allocations: 1 kB / 1.278 GB, free: 16.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006402/1.194, allocations: 143.5 kB / 1.278 GB, free: 16.12 MB / 1.029 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.0005243/1.194, allocations: 175 kB / 1.278 GB, free: 16.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007666/1.195, allocations: 326.9 kB / 1.278 GB, free: 16.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.195, allocations: 1.656 kB / 1.278 GB, free: 16.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/1.195, allocations: 160.1 kB / 1.278 GB, free: 16.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.197, allocations: 366.7 kB / 1.279 GB, free: 16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/1.2, allocations: 1.119 MB / 1.28 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/1.2, allocations: 0.8836 MB / 1.281 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005769/1.201, allocations: 140.5 kB / 1.281 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.201, allocations: 42.03 kB / 1.281 GB, free: 14.75 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/1.201, allocations: 1.312 kB / 1.281 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Templates: time 0.02707/1.228, allocations: 11.14 MB / 1.292 GB, free: 14.29 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches