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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00568/0.00568, allocations: 98.14 kB / 15.73 MB, free: 6.059 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.001311/0.001311, allocations: 199.8 kB / 16.68 MB, free: 5.977 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3121, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8851/1.197, allocations: 170.8 MB / 1.375 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005819/1.203, allocations: 3.383 MB / 1.378 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/1.204, allocations: 21.22 kB / 1.378 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/1.205, allocations: 309 kB / 1.378 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/1.208, allocations: 1.023 MB / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/1.209, allocations: 0.6687 MB / 1.38 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001986/1.211, allocations: 1.53 MB / 1.381 GB, free: 9.918 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/1.212, allocations: 480.8 kB / 1.382 GB, free: 9.629 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.213, allocations: 0.571 MB / 1.382 GB, free: 9.293 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/1.214, allocations: 460.9 kB / 1.383 GB, free: 9.035 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/1.214, allocations: 53.28 kB / 1.383 GB, free: 9.035 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/1.217, allocations: 0.8334 MB / 1.384 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/1.217, allocations: 244.9 kB / 1.384 GB, free: 8.422 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/1.218, allocations: 335.2 kB / 1.384 GB, free: 8.215 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/1.221, allocations: 1.142 MB / 1.385 GB, free: 7.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.221, allocations: 0 / 1.385 GB, free: 7.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.555e-06/1.221, allocations: 0.8125 kB / 1.385 GB, free: 7.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.221, allocations: 0 / 1.385 GB, free: 7.48 MB / 1.076 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.002168/1.223, allocations: 0.9065 MB / 1.386 GB, free: 6.742 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.223, allocations: 13.69 kB / 1.386 GB, free: 6.738 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/1.225, allocations: 170.2 kB / 1.386 GB, free: 6.664 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/1.226, allocations: 0.5243 MB / 1.387 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/1.226, allocations: 46.95 kB / 1.387 GB, free: 6.195 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.669e-05/1.226, allocations: 40.25 kB / 1.387 GB, free: 6.184 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/1.227, allocations: 469 kB / 1.387 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.227, allocations: 1.094 kB / 1.387 GB, free: 5.918 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/1.227, allocations: 20.28 kB / 1.387 GB, free: 5.902 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/1.227, allocations: 23.86 kB / 1.387 GB, free: 5.895 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/1.227, allocations: 407.2 kB / 1.388 GB, free: 5.703 MB / 1.076 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.002658/1.23, allocations: 1.725 MB / 1.389 GB, free: 4.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.231, allocations: 307.1 kB / 1.39 GB, free: 4.098 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/1.231, allocations: 172.5 kB / 1.39 GB, free: 4.016 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/1.231, allocations: 99.88 kB / 1.39 GB, free: 3.914 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.231, allocations: 48.56 kB / 1.39 GB, free: 3.859 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.053e-06/1.231, allocations: 1.125 kB / 1.39 GB, free: 3.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002127/1.233, allocations: 1.064 MB / 1.391 GB, free: 3.156 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.233, allocations: 54.75 kB / 1.391 GB, free: 3.094 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/1.234, allocations: 459.7 kB / 1.392 GB, free: 2.812 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/1.234, allocations: 33.23 kB / 1.392 GB, free: 2.777 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.234, allocations: 250.8 kB / 1.392 GB, free: 2.555 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/1.234, allocations: 112.5 kB / 1.392 GB, free: 2.457 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/1.234, allocations: 70.17 kB / 1.392 GB, free: 2.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.234, allocations: 358.5 kB / 1.392 GB, free: 2.062 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/1.235, allocations: 127 kB / 1.393 GB, free: 2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/1.235, allocations: 201.4 kB / 1.393 GB, free: 1.859 MB / 1.076 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.002174/1.237, allocations: 0.8634 MB / 1.394 GB, free: 1.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.237, allocations: 0 / 1.394 GB, free: 1.336 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007878/1.238, allocations: 416.8 kB / 1.394 GB, free: 1.117 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.238, allocations: 5.25 kB / 1.394 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.238, allocations: 2.25 kB / 1.394 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.238, allocations: 3.062 kB / 1.394 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/1.238, allocations: 72.09 kB / 1.394 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.238, allocations: 6.812 kB / 1.394 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/1.239, allocations: 17.81 kB / 1.394 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/1.239, allocations: 17.8 kB / 1.394 GB, free: 1.078 MB / 1.076 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.0003155/1.239, allocations: 205 kB / 1.394 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.239, allocations: 52.84 kB / 1.394 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/1.239, allocations: 59.33 kB / 1.394 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.239, allocations: 6.922 kB / 1.394 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.24, allocations: 5.312 kB / 1.394 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005799/1.24, allocations: 404.7 kB / 1.395 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.242, allocations: 1.241 MB / 1.396 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.242, allocations: 8.594 kB / 1.396 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/1.243, allocations: 76.27 kB / 1.396 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.243, allocations: 10.41 kB / 1.396 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.243, allocations: 11.16 kB / 1.396 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.243, allocations: 9.625 kB / 1.396 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.243, allocations: 8.344 kB / 1.396 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/1.243, allocations: 0.706 MB / 1.397 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/1.244, allocations: 168 kB / 1.397 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/1.244, allocations: 11.06 kB / 1.397 GB, free: 14.87 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/1.244, allocations: 17.3 kB / 1.397 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/1.244, allocations: 37.69 kB / 1.397 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/1.244, allocations: 18.78 kB / 1.397 GB, free: 14.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003661/1.245, allocations: 334.7 kB / 1.397 GB, free: 14.63 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.245, allocations: 0 / 1.397 GB, free: 14.63 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000632/1.245, allocations: 144.3 kB / 1.397 GB, free: 14.62 MB / 1.092 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.0004383/1.246, allocations: 175.7 kB / 1.398 GB, free: 14.49 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005124/1.246, allocations: 328.2 kB / 1.398 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.246, allocations: 0 / 1.398 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.246, allocations: 162.2 kB / 1.398 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.248, allocations: 372.6 kB / 1.398 GB, free: 14.08 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.25, allocations: 1.107 MB / 1.4 GB, free: 13.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/1.25, allocations: 0.886 MB / 1.4 GB, free: 12.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00041/1.251, allocations: 132.1 kB / 1.401 GB, free: 12.44 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.251, allocations: 41.81 kB / 1.401 GB, free: 12.43 MB / 1.092 GB Notification: Performance of SimCode: time 2.51e-07/1.251, allocations: 0 / 1.401 GB, free: 12.43 MB / 1.092 GB Notification: Performance of Templates: time 0.01736/1.268, allocations: 11.13 MB / 1.411 GB, free: 5.68 MB / 1.092 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