Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007871/0.007871, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001691/0.001691, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.403/1.403, 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 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 60.14 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3233, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9057/1.229, allocations: 187.3 MB / 1.35 GB, free: 5.051 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01576/1.245, allocations: 13.06 MB / 1.362 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/1.246, allocations: 29.88 kB / 1.362 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/1.248, allocations: 427.5 kB / 1.363 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/1.252, allocations: 1.157 MB / 1.364 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/1.254, allocations: 0.7083 MB / 1.365 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003287/1.257, allocations: 2.014 MB / 1.367 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/1.258, allocations: 0.8403 MB / 1.367 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/1.263, allocations: 1.819 MB / 1.369 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/1.264, allocations: 0.6688 MB / 1.37 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/1.264, allocations: 84.44 kB / 1.37 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/1.266, allocations: 0.8695 MB / 1.371 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004412/1.267, allocations: 383 kB / 1.371 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006357/1.268, allocations: 0.5012 MB / 1.372 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/1.27, allocations: 1.49 MB / 1.373 GB, free: 5.832 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.27, allocations: 2.5 kB / 1.373 GB, free: 5.832 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/1.27, allocations: 0 / 1.373 GB, free: 5.832 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.27, allocations: 0 / 1.373 GB, free: 5.832 MB / 1.045 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.001844/1.272, allocations: 1.265 MB / 1.374 GB, free: 4.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.272, allocations: 11.22 kB / 1.374 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.273, allocations: 224.2 kB / 1.374 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/1.274, allocations: 0.688 MB / 1.375 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/1.274, allocations: 61.09 kB / 1.375 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.274, allocations: 74.75 kB / 1.375 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.276, allocations: 0.9231 MB / 1.376 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/1.276, allocations: 9.312 kB / 1.376 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/1.276, allocations: 37.56 kB / 1.376 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/1.276, allocations: 31.42 kB / 1.376 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.277, allocations: 0.6164 MB / 1.377 GB, free: 3.125 MB / 1.045 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.004566/1.282, allocations: 4.592 MB / 1.381 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/1.282, allocations: 0.5472 MB / 1.382 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/1.283, allocations: 245.6 kB / 1.382 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.283, allocations: 96.56 kB / 1.382 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.283, allocations: 45.78 kB / 1.382 GB, free: 14.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/1.283, allocations: 3.938 kB / 1.382 GB, free: 14.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.002727/1.286, allocations: 1.612 MB / 1.384 GB, free: 13.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/1.286, allocations: 113.5 kB / 1.384 GB, free: 13.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/1.287, allocations: 0.719 MB / 1.385 GB, free: 12.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/1.287, allocations: 35.92 kB / 1.385 GB, free: 12.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/1.287, allocations: 422 kB / 1.385 GB, free: 12.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/1.287, allocations: 173.4 kB / 1.385 GB, free: 12.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.287, allocations: 116.6 kB / 1.385 GB, free: 12.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.287, allocations: 326.9 kB / 1.386 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/1.288, allocations: 198.9 kB / 1.386 GB, free: 11.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/1.288, allocations: 421 kB / 1.386 GB, free: 11.21 MB / 1.061 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.002149/1.29, allocations: 1.178 MB / 1.387 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.29, allocations: 2.812 kB / 1.387 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009666/1.291, allocations: 0.6788 MB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.291, allocations: 11.31 kB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.291, allocations: 7.047 kB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.291, allocations: 10.19 kB / 1.388 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/1.292, allocations: 129.8 kB / 1.388 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/1.292, allocations: 17.7 kB / 1.388 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/1.292, allocations: 28.47 kB / 1.388 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/1.293, allocations: 30.64 kB / 1.388 GB, free: 9.988 MB / 1.061 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.0003451/1.293, allocations: 272 kB / 1.389 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/1.293, allocations: 87.17 kB / 1.389 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/1.293, allocations: 88.77 kB / 1.389 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.293, allocations: 5.656 kB / 1.389 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.293, allocations: 6.125 kB / 1.389 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006743/1.294, allocations: 0.7012 MB / 1.389 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/1.296, allocations: 1.638 MB / 1.391 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.296, allocations: 13.2 kB / 1.391 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/1.297, allocations: 94.83 kB / 1.391 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.036e-06/1.297, allocations: 11.84 kB / 1.391 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/1.297, allocations: 15.69 kB / 1.391 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/1.297, allocations: 8.781 kB / 1.391 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.297, allocations: 5.281 kB / 1.391 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.298, allocations: 0.8723 MB / 1.392 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/1.298, allocations: 211.4 kB / 1.392 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.298, allocations: 15.42 kB / 1.392 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/1.299, allocations: 22.38 kB / 1.392 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/1.299, allocations: 41.7 kB / 1.392 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/1.299, allocations: 16.5 kB / 1.392 GB, free: 6.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005721/1.299, allocations: 0.5121 MB / 1.393 GB, free: 6.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.299, allocations: 0 / 1.393 GB, free: 6.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000675/1.3, allocations: 200.7 kB / 1.393 GB, free: 6.629 MB / 1.061 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.0004187/1.3, allocations: 211.1 kB / 1.393 GB, free: 6.484 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007245/1.301, allocations: 478.9 kB / 1.394 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.301, allocations: 3.938 kB / 1.394 GB, free: 6.273 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/1.301, allocations: 205 kB / 1.394 GB, free: 6.184 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.303, allocations: 490.3 kB / 1.394 GB, free: 5.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/1.306, allocations: 1.679 MB / 1.396 GB, free: 4.785 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/1.306, allocations: 1.037 MB / 1.397 GB, free: 3.922 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000557/1.307, allocations: 189.7 kB / 1.397 GB, free: 3.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.307, allocations: 64.14 kB / 1.397 GB, free: 3.828 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/1.307, allocations: 0 / 1.397 GB, free: 3.828 MB / 1.061 GB Notification: Performance of Templates: time 0.02517/1.332, allocations: 15.18 MB / 1.412 GB, free: 8.297 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches