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.001618/0.001618, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.627/1.627, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.757/2.757, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 71.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7863, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2438/1.03, allocations: 187.3 MB / 1.2 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01866/1.049, allocations: 13.06 MB / 1.213 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/1.05, allocations: 35.81 kB / 1.213 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/1.052, allocations: 425.2 kB / 1.213 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/1.056, allocations: 1.166 MB / 1.215 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/1.058, allocations: 0.6892 MB / 1.215 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003089/1.061, allocations: 2.028 MB / 1.217 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/1.062, allocations: 0.8433 MB / 1.218 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/1.067, allocations: 1.802 MB / 1.22 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/1.069, allocations: 0.6588 MB / 1.22 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.069, allocations: 80 kB / 1.22 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/1.072, allocations: 0.873 MB / 1.221 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/1.072, allocations: 379 kB / 1.222 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007346/1.073, allocations: 0.5015 MB / 1.222 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/1.075, allocations: 1.468 MB / 1.224 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.075, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/1.075, allocations: 4 kB / 1.224 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.075, allocations: 0 / 1.224 GB, free: 14.61 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.002178/1.078, allocations: 1.239 MB / 1.225 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.078, allocations: 8.031 kB / 1.225 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.079, allocations: 218.6 kB / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/1.08, allocations: 0.648 MB / 1.226 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/1.08, allocations: 58 kB / 1.226 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.08, allocations: 76 kB / 1.226 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.082, allocations: 0.9326 MB / 1.227 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/1.082, allocations: 7.938 kB / 1.227 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/1.082, allocations: 35.94 kB / 1.227 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/1.082, allocations: 29.31 kB / 1.227 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/1.083, allocations: 0.6138 MB / 1.227 GB, free: 10.57 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.005469/1.089, allocations: 4.609 MB / 1.232 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.09, allocations: 0.549 MB / 1.232 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/1.09, allocations: 246.4 kB / 1.233 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/1.09, allocations: 101.1 kB / 1.233 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/1.09, allocations: 46.55 kB / 1.233 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/1.09, allocations: 0 / 1.233 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.003189/1.094, allocations: 1.599 MB / 1.234 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/1.094, allocations: 110.8 kB / 1.234 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.095, allocations: 0.7155 MB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/1.095, allocations: 37.7 kB / 1.235 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/1.095, allocations: 412.1 kB / 1.236 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.095, allocations: 161.7 kB / 1.236 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.096, allocations: 126.2 kB / 1.236 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.096, allocations: 330 kB / 1.236 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.096, allocations: 185.2 kB / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/1.097, allocations: 417 kB / 1.237 GB, free: 396 kB / 0.9825 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.002762/1.099, allocations: 1.18 MB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.1, allocations: 0 / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001225/1.101, allocations: 0.6714 MB / 1.239 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.101, allocations: 13.97 kB / 1.239 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.101, allocations: 4 kB / 1.239 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.101, allocations: 12 kB / 1.239 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/1.101, allocations: 128.3 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.101, allocations: 12 kB / 1.239 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006102/1.102, allocations: 35.92 kB / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/1.102, allocations: 24 kB / 1.239 GB, free: 14.2 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.0005095/1.103, allocations: 278.4 kB / 1.239 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.103, allocations: 90.91 kB / 1.239 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/1.103, allocations: 91.66 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.103, allocations: 4 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.103, allocations: 0 / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008517/1.104, allocations: 0.6911 MB / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/1.107, allocations: 1.642 MB / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.107, allocations: 4 kB / 1.242 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/1.107, allocations: 104.4 kB / 1.242 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.107, allocations: 15.92 kB / 1.242 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.107, allocations: 16 kB / 1.242 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/1.107, allocations: 7.984 kB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.107, allocations: 7.938 kB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.108, allocations: 0.8613 MB / 1.242 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/1.109, allocations: 212 kB / 1.243 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/1.109, allocations: 12 kB / 1.243 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/1.109, allocations: 19.98 kB / 1.243 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.109, allocations: 43.84 kB / 1.243 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/1.11, allocations: 20.17 kB / 1.243 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007367/1.11, allocations: 0.5107 MB / 1.243 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.11, allocations: 3.938 kB / 1.243 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008412/1.111, allocations: 204 kB / 1.243 GB, free: 9.094 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.0005329/1.112, allocations: 191.1 kB / 1.244 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.113, allocations: 0.5086 MB / 1.244 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.113, allocations: 4.062 kB / 1.244 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/1.113, allocations: 211.9 kB / 1.244 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.115, allocations: 489.1 kB / 1.245 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/1.119, allocations: 1.675 MB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/1.119, allocations: 1.032 MB / 1.247 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007596/1.12, allocations: 195 kB / 1.248 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/1.12, allocations: 67.42 kB / 1.248 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.12, allocations: 0 / 1.248 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of Templates: time 0.5955/1.716, allocations: 15.05 MB / 1.262 GB, free: 233.8 MB / 0.9981 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=400 -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