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.001072/0.001072, 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.001073/0.001073, allocations: 196.8 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.698/2.698, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.05 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6332/0.6347, allocations: 151.6 MB / 1.017 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1893/0.824, allocations: 187.3 MB / 1.2 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.8396, allocations: 13.07 MB / 1.213 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.8411, allocations: 27.88 kB / 1.213 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.8425, allocations: 429.1 kB / 1.213 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.8457, allocations: 1.159 MB / 1.214 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.8475, allocations: 0.6986 MB / 1.215 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.8504, allocations: 2.012 MB / 1.217 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.8517, allocations: 0.8433 MB / 1.218 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.8559, allocations: 1.813 MB / 1.22 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.8575, allocations: 0.6618 MB / 1.22 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.8576, allocations: 80 kB / 1.22 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.8596, allocations: 0.8652 MB / 1.221 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.86, allocations: 391 kB / 1.222 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.8606, allocations: 0.4937 MB / 1.222 GB, free: 12 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.8625, allocations: 1.472 MB / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8625, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8625, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.8625, allocations: 0 / 1.224 GB, free: 14.54 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.001797/0.8643, allocations: 1.235 MB / 1.225 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8644, allocations: 12.03 kB / 1.225 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.8655, allocations: 218.5 kB / 1.225 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000935/0.8665, allocations: 0.6481 MB / 1.226 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.8666, allocations: 54 kB / 1.226 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.8667, allocations: 76 kB / 1.226 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.8679, allocations: 0.9365 MB / 1.227 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.8679, allocations: 0 / 1.227 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.868, allocations: 35.94 kB / 1.227 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.8681, allocations: 29.31 kB / 1.227 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009044/0.869, allocations: 0.6255 MB / 1.227 GB, free: 10.49 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.003952/0.8729, allocations: 4.605 MB / 1.232 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.8737, allocations: 0.551 MB / 1.232 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.874, allocations: 242.5 kB / 1.233 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.8742, allocations: 101.1 kB / 1.233 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.8743, allocations: 50.5 kB / 1.233 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.8743, allocations: 0 / 1.233 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002608/0.8769, allocations: 1.587 MB / 1.234 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.877, allocations: 107.1 kB / 1.234 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.8778, allocations: 0.7194 MB / 1.235 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.8778, allocations: 41.64 kB / 1.235 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.8782, allocations: 407.8 kB / 1.236 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.8784, allocations: 169.6 kB / 1.236 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.8785, allocations: 110.2 kB / 1.236 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8787, allocations: 334 kB / 1.236 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.879, allocations: 189.2 kB / 1.236 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.8795, allocations: 413 kB / 1.237 GB, free: 340 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.002192/0.8817, allocations: 1.184 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8817, allocations: 0 / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009272/0.8826, allocations: 0.6711 MB / 1.239 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.8826, allocations: 12.72 kB / 1.239 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8827, allocations: 11.98 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.8827, allocations: 12 kB / 1.239 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.8831, allocations: 123.8 kB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.8832, allocations: 11.94 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.8837, allocations: 31.92 kB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.8837, allocations: 28.09 kB / 1.239 GB, free: 14.14 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.0003581/0.8841, allocations: 273.6 kB / 1.239 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.8842, allocations: 86.91 kB / 1.239 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.8844, allocations: 91.66 kB / 1.239 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.8844, allocations: 15.94 kB / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8844, allocations: 0 / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007129/0.8851, allocations: 0.6949 MB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.8874, allocations: 1.635 MB / 1.241 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8874, allocations: 8 kB / 1.241 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.8878, allocations: 99.88 kB / 1.242 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.8878, allocations: 11.94 kB / 1.242 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.8879, allocations: 16 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.8879, allocations: 7.938 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8879, allocations: 4 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.889, allocations: 0.8653 MB / 1.242 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.8893, allocations: 212 kB / 1.243 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.8894, allocations: 15.94 kB / 1.243 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.8898, allocations: 23.98 kB / 1.243 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.8899, allocations: 39.83 kB / 1.243 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.8899, allocations: 20 kB / 1.243 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005899/0.8905, allocations: 0.5068 MB / 1.243 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8905, allocations: 0 / 1.243 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006698/0.8912, allocations: 208 kB / 1.243 GB, free: 9.035 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.0004642/0.8916, allocations: 191.1 kB / 1.244 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000828/0.8925, allocations: 0.5241 MB / 1.244 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8925, allocations: 0 / 1.244 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.8928, allocations: 217.3 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.8948, allocations: 488.7 kB / 1.245 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.8976, allocations: 1.667 MB / 1.246 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.8982, allocations: 1.028 MB / 1.247 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006625/0.8989, allocations: 203 kB / 1.248 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.8991, allocations: 63.44 kB / 1.248 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of SimCode: time 1.593e-06/0.8991, allocations: 0 / 1.248 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.6075/1.507, allocations: 15.05 MB / 1.262 GB, free: 233.7 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=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