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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001489/0.001489, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001641/0.001642, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.603/2.603, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.83 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7237/1.046, allocations: 170.8 MB / 1.194 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005595/1.052, allocations: 3.375 MB / 1.197 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006771/1.053, allocations: 21.03 kB / 1.197 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009489/1.054, allocations: 308.1 kB / 1.197 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/1.056, allocations: 1.018 MB / 1.198 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/1.058, allocations: 0.6727 MB / 1.199 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002055/1.06, allocations: 1.53 MB / 1.2 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/1.061, allocations: 472.3 kB / 1.201 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/1.063, allocations: 0.5645 MB / 1.201 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.064, allocations: 462.8 kB / 1.202 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/1.064, allocations: 54.34 kB / 1.202 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/1.066, allocations: 0.8319 MB / 1.203 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/1.067, allocations: 242.2 kB / 1.203 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/1.067, allocations: 334.4 kB / 1.203 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/1.069, allocations: 1.133 MB / 1.204 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.069, allocations: 4 kB / 1.204 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/1.069, allocations: 0 / 1.204 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.863e-05/1.069, allocations: 0 / 1.204 GB, free: 3.184 MB / 0.9044 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.001429/1.07, allocations: 0.905 MB / 1.205 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.07, allocations: 18.58 kB / 1.205 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/1.071, allocations: 166.5 kB / 1.205 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/1.072, allocations: 0.5232 MB / 1.206 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/1.072, allocations: 42.84 kB / 1.206 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/1.072, allocations: 51.36 kB / 1.206 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/1.073, allocations: 470.7 kB / 1.206 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.073, allocations: 0 / 1.206 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/1.073, allocations: 20.72 kB / 1.206 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/1.073, allocations: 16.28 kB / 1.206 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/1.074, allocations: 415.2 kB / 1.207 GB, free: 1.402 MB / 0.9044 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.002534/1.076, allocations: 1.725 MB / 1.208 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/1.077, allocations: 301.6 kB / 1.209 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/1.077, allocations: 177.8 kB / 1.209 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.077, allocations: 100.2 kB / 1.209 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.077, allocations: 44.59 kB / 1.209 GB, free: 15.56 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/1.077, allocations: 0 / 1.209 GB, free: 15.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001935/1.079, allocations: 1.057 MB / 1.21 GB, free: 14.87 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.079, allocations: 60.22 kB / 1.21 GB, free: 14.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/1.08, allocations: 456 kB / 1.211 GB, free: 14.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/1.08, allocations: 36.45 kB / 1.211 GB, free: 14.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.08, allocations: 251.8 kB / 1.211 GB, free: 14.26 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/1.08, allocations: 114.6 kB / 1.211 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.08, allocations: 72.06 kB / 1.211 GB, free: 14.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.081, allocations: 356.6 kB / 1.211 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.081, allocations: 126.6 kB / 1.211 GB, free: 13.7 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/1.081, allocations: 202.4 kB / 1.212 GB, free: 13.56 MB / 0.92 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.001907/1.083, allocations: 0.8592 MB / 1.213 GB, free: 13.04 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/1.083, allocations: 2.406 kB / 1.213 GB, free: 13.04 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006368/1.084, allocations: 415.1 kB / 1.213 GB, free: 12.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.084, allocations: 7.312 kB / 1.213 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.084, allocations: 0 / 1.213 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.084, allocations: 2.781 kB / 1.213 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/1.084, allocations: 70.06 kB / 1.213 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.084, allocations: 10.22 kB / 1.213 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.084, allocations: 20.52 kB / 1.213 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/1.084, allocations: 14 kB / 1.213 GB, free: 12.79 MB / 0.92 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.0002665/1.085, allocations: 212.7 kB / 1.213 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/1.085, allocations: 52.56 kB / 1.213 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.085, allocations: 63.47 kB / 1.213 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.085, allocations: 2.625 kB / 1.213 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.085, allocations: 2.812 kB / 1.213 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004963/1.085, allocations: 407.5 kB / 1.214 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.087, allocations: 1.242 MB / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.087, allocations: 9.219 kB / 1.215 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/1.088, allocations: 73.94 kB / 1.215 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.088, allocations: 9.281 kB / 1.215 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/1.088, allocations: 12.44 kB / 1.215 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.088, allocations: 8.906 kB / 1.215 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.088, allocations: 2.594 kB / 1.215 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/1.088, allocations: 0.7054 MB / 1.216 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/1.089, allocations: 169 kB / 1.216 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/1.089, allocations: 8.812 kB / 1.216 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/1.089, allocations: 22.77 kB / 1.216 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/1.089, allocations: 36.62 kB / 1.216 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.089, allocations: 22.92 kB / 1.216 GB, free: 10.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003454/1.09, allocations: 328.6 kB / 1.216 GB, free: 10.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 3.938 kB / 1.216 GB, free: 10.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005547/1.09, allocations: 144.2 kB / 1.216 GB, free: 10.32 MB / 0.92 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.0004693/1.091, allocations: 171.7 kB / 1.217 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005714/1.091, allocations: 324.8 kB / 1.217 GB, free: 10.02 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.091, allocations: 4 kB / 1.217 GB, free: 10.01 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/1.092, allocations: 164.7 kB / 1.217 GB, free: 9.852 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/1.093, allocations: 365.1 kB / 1.217 GB, free: 9.508 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.095, allocations: 1.119 MB / 1.219 GB, free: 8.312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/1.095, allocations: 0.8823 MB / 1.219 GB, free: 7.402 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004523/1.096, allocations: 132.6 kB / 1.22 GB, free: 7.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/1.096, allocations: 39.44 kB / 1.22 GB, free: 7.23 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.096, allocations: 4 kB / 1.22 GB, free: 7.227 MB / 0.92 GB Notification: Performance of Templates: time 0.01976/1.116, allocations: 11.04 MB / 1.23 GB, free: 12.34 MB / 0.9356 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches