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.001716/0.001716, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00197/0.00197, allocations: 190.6 kB / 16.25 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 482.3 MB / 0.7543 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 76.67 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 162.2 MB / 1.082 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2107/0.5766, allocations: 168.5 MB / 1.246 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006542/0.5832, allocations: 3.368 MB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.5843, allocations: 19.88 kB / 1.25 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.5853, allocations: 282.5 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6638/1.249, allocations: 0.9451 MB / 1.251 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/1.251, allocations: 0.6055 MB / 1.251 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002469/1.253, allocations: 1.532 MB / 1.253 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/1.254, allocations: 467.1 kB / 1.253 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/1.256, allocations: 0.6919 MB / 1.254 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/1.257, allocations: 493.1 kB / 1.255 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/1.258, allocations: 54.19 kB / 1.255 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/1.26, allocations: 0.8683 MB / 1.255 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/1.26, allocations: 236.2 kB / 1.256 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/1.26, allocations: 344.8 kB / 1.256 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/1.263, allocations: 1.182 MB / 1.257 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/1.263, allocations: 0.9062 kB / 1.257 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.263, allocations: 2.922 kB / 1.257 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.263, allocations: 1 kB / 1.257 GB, free: 8.016 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.002089/1.265, allocations: 0.9128 MB / 1.258 GB, free: 23.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.265, allocations: 9.312 kB / 1.258 GB, free: 23.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.266, allocations: 174.8 kB / 1.258 GB, free: 23.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/1.267, allocations: 0.5006 MB / 1.259 GB, free: 23.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/1.267, allocations: 32.34 kB / 1.259 GB, free: 23.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/1.267, allocations: 41.89 kB / 1.259 GB, free: 23.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/1.268, allocations: 481.1 kB / 1.259 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/1.268, allocations: 1.078 kB / 1.259 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/1.268, allocations: 20.94 kB / 1.259 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.268, allocations: 16.53 kB / 1.259 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/1.269, allocations: 415.4 kB / 1.26 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/1.272, allocations: 1.807 MB / 1.261 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/1.272, allocations: 305.7 kB / 1.262 GB, free: 22.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/1.273, allocations: 179.4 kB / 1.262 GB, free: 22.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/1.273, allocations: 97.05 kB / 1.262 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.273, allocations: 39.14 kB / 1.262 GB, free: 22.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/1.273, allocations: 1.203 kB / 1.262 GB, free: 22.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002191/1.275, allocations: 1.059 MB / 1.263 GB, free: 21.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.275, allocations: 52.97 kB / 1.263 GB, free: 21.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/1.276, allocations: 459 kB / 1.264 GB, free: 21.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.276, allocations: 32.14 kB / 1.264 GB, free: 21.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/1.276, allocations: 255.1 kB / 1.264 GB, free: 21.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.276, allocations: 116.5 kB / 1.264 GB, free: 21.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.276, allocations: 77.12 kB / 1.264 GB, free: 21.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.277, allocations: 355.1 kB / 1.264 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.277, allocations: 129.5 kB / 1.264 GB, free: 20.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/1.277, allocations: 193.7 kB / 1.265 GB, free: 20.93 MB / 1.014 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.001892/1.279, allocations: 0.8669 MB / 1.265 GB, free: 20.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.279, allocations: 0 / 1.265 GB, free: 20.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006031/1.28, allocations: 409.9 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.28, allocations: 9.938 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.28, allocations: 3.969 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.28, allocations: 2.391 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/1.28, allocations: 66.39 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.28, allocations: 7.203 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/1.28, allocations: 34.8 kB / 1.266 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.28, allocations: 13.95 kB / 1.266 GB, free: 20.71 MB / 1.014 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.0003012/1.281, allocations: 208 kB / 1.266 GB, free: 20.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.281, allocations: 58.03 kB / 1.266 GB, free: 20.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/1.281, allocations: 61 kB / 1.266 GB, free: 20.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/1.281, allocations: 9.875 kB / 1.266 GB, free: 20.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.281, allocations: 0 / 1.266 GB, free: 20.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000612/1.282, allocations: 406.7 kB / 1.267 GB, free: 20.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/1.284, allocations: 1.249 MB / 1.268 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.284, allocations: 2.188 kB / 1.268 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/1.284, allocations: 73.19 kB / 1.268 GB, free: 19.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.285, allocations: 10.86 kB / 1.268 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/1.285, allocations: 16.56 kB / 1.268 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.285, allocations: 4.094 kB / 1.268 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/1.285, allocations: 8.781 kB / 1.268 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.286, allocations: 0.6958 MB / 1.269 GB, free: 19.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/1.286, allocations: 177.8 kB / 1.269 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/1.286, allocations: 16.5 kB / 1.269 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/1.287, allocations: 26.05 kB / 1.269 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/1.287, allocations: 35.7 kB / 1.269 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/1.287, allocations: 20.64 kB / 1.269 GB, free: 19.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005063/1.287, allocations: 330.6 kB / 1.269 GB, free: 19.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.287, allocations: 0 / 1.269 GB, free: 19.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006922/1.288, allocations: 140.9 kB / 1.269 GB, free: 19.45 MB / 1.014 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.0004991/1.289, allocations: 180.9 kB / 1.27 GB, free: 19.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006293/1.289, allocations: 342 kB / 1.27 GB, free: 19.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.289, allocations: 4.625 kB / 1.27 GB, free: 19.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.289, allocations: 159 kB / 1.27 GB, free: 19.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1.291, allocations: 367 kB / 1.27 GB, free: 19.31 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/1.293, allocations: 1.296 MB / 1.272 GB, free: 18.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/1.294, allocations: 0.888 MB / 1.273 GB, free: 17.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005373/1.294, allocations: 135.7 kB / 1.273 GB, free: 17.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/1.294, allocations: 43.25 kB / 1.273 GB, free: 17.89 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.294, allocations: 0 / 1.273 GB, free: 17.89 MB / 1.014 GB Notification: Performance of Templates: time 0.02342/1.318, allocations: 11 MB / 1.283 GB, free: 17.39 MB / 1.014 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=400 -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