Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 109.9 kB / 15.99 MB, free: 6.355 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.002102/0.002102, allocations: 192 kB / 16.91 MB, free: 6.195 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 62.28 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3374, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7904/1.128, allocations: 184.8 MB / 1.245 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.146, allocations: 12.95 MB / 1.257 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/1.147, allocations: 31.81 kB / 1.257 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/1.148, allocations: 370 kB / 1.258 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/1.152, allocations: 1.09 MB / 1.259 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/1.153, allocations: 0.6303 MB / 1.259 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002907/1.156, allocations: 2.012 MB / 1.261 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/1.158, allocations: 0.8167 MB / 1.262 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/1.162, allocations: 1.775 MB / 1.264 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/1.164, allocations: 0.7053 MB / 1.265 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/1.164, allocations: 80 kB / 1.265 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/1.166, allocations: 0.9079 MB / 1.265 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/1.167, allocations: 387 kB / 1.266 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006745/1.167, allocations: 0.4976 MB / 1.266 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/1.169, allocations: 1.123 MB / 1.267 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.169, allocations: 0 / 1.267 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/1.169, allocations: 0 / 1.267 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.169, allocations: 0 / 1.267 GB, free: 8.922 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002098/1.171, allocations: 1.236 MB / 1.269 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.171, allocations: 12.03 kB / 1.269 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.172, allocations: 214.6 kB / 1.269 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/1.173, allocations: 0.6442 MB / 1.27 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/1.174, allocations: 54 kB / 1.27 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.174, allocations: 76 kB / 1.27 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/1.175, allocations: 0.9388 MB / 1.271 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/1.175, allocations: 7.844 kB / 1.271 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/1.175, allocations: 31.94 kB / 1.271 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/1.175, allocations: 33.25 kB / 1.271 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.177, allocations: 0.6255 MB / 1.271 GB, free: 4.879 MB / 0.9825 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.004715/1.181, allocations: 4.584 MB / 1.276 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/1.182, allocations: 0.5441 MB / 1.276 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/1.183, allocations: 248.5 kB / 1.276 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/1.183, allocations: 109 kB / 1.277 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.183, allocations: 45.5 kB / 1.277 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/1.183, allocations: 0 / 1.277 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.003087/1.186, allocations: 1.586 MB / 1.278 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/1.186, allocations: 110.8 kB / 1.278 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/1.187, allocations: 0.7155 MB / 1.279 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/1.187, allocations: 33.7 kB / 1.279 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/1.187, allocations: 415.8 kB / 1.279 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/1.188, allocations: 161.6 kB / 1.28 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/1.188, allocations: 122.3 kB / 1.28 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.188, allocations: 326 kB / 1.28 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/1.188, allocations: 189.2 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/1.189, allocations: 420.9 kB / 1.281 GB, free: 10.73 MB / 0.9981 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/1.191, allocations: 1.177 MB / 1.282 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.191, allocations: 4 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001113/1.192, allocations: 0.6643 MB / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.192, allocations: 15.88 kB / 1.282 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.192, allocations: 4 kB / 1.282 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.192, allocations: 15.98 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/1.193, allocations: 123.8 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.193, allocations: 15.94 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/1.194, allocations: 56.11 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/1.194, allocations: 28 kB / 1.283 GB, free: 8.52 MB / 0.9981 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: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004341/1.194, allocations: 269.6 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.194, allocations: 90.91 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/1.194, allocations: 91.66 kB / 1.283 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.195, allocations: 11.94 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.195, allocations: 0 / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008169/1.195, allocations: 0.6988 MB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/1.198, allocations: 1.642 MB / 1.285 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.198, allocations: 4 kB / 1.285 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/1.198, allocations: 95.89 kB / 1.285 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/1.198, allocations: 11.94 kB / 1.285 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.199, allocations: 12.88 kB / 1.285 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/1.199, allocations: 15.86 kB / 1.285 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.199, allocations: 4 kB / 1.285 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.2, allocations: 0.8618 MB / 1.286 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/1.2, allocations: 216.1 kB / 1.287 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.2, allocations: 19.94 kB / 1.287 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/1.201, allocations: 29.34 kB / 1.287 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/1.201, allocations: 39.84 kB / 1.287 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.201, allocations: 23.98 kB / 1.287 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006782/1.202, allocations: 0.5107 MB / 1.287 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.202, allocations: 0 / 1.287 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007576/1.202, allocations: 200 kB / 1.287 GB, free: 3.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0005008/1.203, allocations: 215.1 kB / 1.288 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009181/1.204, allocations: 0.5083 MB / 1.288 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.204, allocations: 384 / 1.288 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/1.204, allocations: 217.2 kB / 1.288 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/1.206, allocations: 483.5 kB / 1.289 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.209, allocations: 2.009 MB / 1.291 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/1.21, allocations: 1.024 MB / 1.292 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/1.21, allocations: 71.44 kB / 1.292 GB, free: 14.81 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.21, allocations: 0 / 1.292 GB, free: 14.81 MB / 1.014 GB Notification: Performance of Templates: time 0.02213/1.232, allocations: 12.89 MB / 1.304 GB, free: 2.043 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches