Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00148/0.00148, 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.001787/0.001787, allocations: 195.2 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6647 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 75.88 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7596, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2063/0.9659, allocations: 187.3 MB / 1.132 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.9816, allocations: 13.06 MB / 1.145 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.9831, allocations: 31.81 kB / 1.145 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.9845, allocations: 425.2 kB / 1.146 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.9876, allocations: 1.159 MB / 1.147 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.9896, allocations: 0.6987 MB / 1.147 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002581/0.9922, allocations: 2.016 MB / 1.149 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.9934, allocations: 0.8394 MB / 1.15 GB, free: 3.582 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.9974, allocations: 1.806 MB / 1.152 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.9989, allocations: 0.6737 MB / 1.153 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.999, allocations: 83.94 kB / 1.153 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/1.001, allocations: 0.8692 MB / 1.154 GB, free: 152 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/1.001, allocations: 383 kB / 1.154 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/1.002, allocations: 0.4976 MB / 1.154 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/1.004, allocations: 1.468 MB / 1.156 GB, free: 13.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.004, allocations: 0 / 1.156 GB, free: 13.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.402e-06/1.004, allocations: 0 / 1.156 GB, free: 13.8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.832e-05/1.004, allocations: 0 / 1.156 GB, free: 13.8 MB / 0.92 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.001802/1.006, allocations: 1.233 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.006, allocations: 8.031 kB / 1.157 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.007, allocations: 222.6 kB / 1.157 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/1.008, allocations: 0.6402 MB / 1.158 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/1.008, allocations: 61.94 kB / 1.158 GB, free: 11.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.008, allocations: 76 kB / 1.158 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.009, allocations: 0.9288 MB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.009, allocations: 7.938 kB / 1.159 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/1.009, allocations: 35.94 kB / 1.159 GB, free: 10.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/1.01, allocations: 29.3 kB / 1.159 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/1.01, allocations: 0.6178 MB / 1.16 GB, free: 9.773 MB / 0.92 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.004079/1.015, allocations: 4.605 MB / 1.164 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/1.015, allocations: 0.5441 MB / 1.165 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/1.016, allocations: 243.9 kB / 1.165 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/1.016, allocations: 101.8 kB / 1.165 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.016, allocations: 42.56 kB / 1.165 GB, free: 3.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/1.016, allocations: 0 / 1.165 GB, free: 3.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002721/1.019, allocations: 1.584 MB / 1.167 GB, free: 2.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/1.019, allocations: 114.8 kB / 1.167 GB, free: 2.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/1.02, allocations: 0.7157 MB / 1.167 GB, free: 1.359 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/1.02, allocations: 37.69 kB / 1.167 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/1.02, allocations: 419.8 kB / 1.168 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/1.02, allocations: 157.7 kB / 1.168 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.02, allocations: 122.2 kB / 1.168 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.02, allocations: 322 kB / 1.168 GB, free: 304 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/1.021, allocations: 189.2 kB / 1.169 GB, free: 116 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/1.021, allocations: 429 kB / 1.169 GB, free: 15.59 MB / 0.9356 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.00216/1.023, allocations: 1.171 MB / 1.17 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.023, allocations: 4 kB / 1.17 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009558/1.024, allocations: 0.6713 MB / 1.171 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.024, allocations: 11.94 kB / 1.171 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.024, allocations: 4.781 kB / 1.171 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.024, allocations: 12 kB / 1.171 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/1.025, allocations: 127.8 kB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.025, allocations: 23.86 kB / 1.171 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/1.025, allocations: 35.98 kB / 1.171 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/1.025, allocations: 24 kB / 1.171 GB, free: 13.4 MB / 0.9356 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.0003586/1.026, allocations: 270.1 kB / 1.171 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.026, allocations: 86.91 kB / 1.171 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.026, allocations: 91.67 kB / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.026, allocations: 7.984 kB / 1.171 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.026, allocations: 4 kB / 1.171 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006715/1.027, allocations: 0.696 MB / 1.172 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.029, allocations: 1.639 MB / 1.174 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.029, allocations: 4 kB / 1.174 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/1.029, allocations: 95.83 kB / 1.174 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.03, allocations: 7.938 kB / 1.174 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.03, allocations: 16 kB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/1.03, allocations: 8 kB / 1.174 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.03, allocations: 11.92 kB / 1.174 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.031, allocations: 0.8651 MB / 1.175 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/1.031, allocations: 208 kB / 1.175 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.031, allocations: 19.98 kB / 1.175 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/1.031, allocations: 21.95 kB / 1.175 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/1.031, allocations: 39.83 kB / 1.175 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.032, allocations: 20 kB / 1.175 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005811/1.032, allocations: 0.5107 MB / 1.176 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.032, allocations: 0 / 1.176 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007275/1.033, allocations: 200 kB / 1.176 GB, free: 8.324 MB / 0.9356 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.0004566/1.033, allocations: 219.8 kB / 1.176 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008573/1.034, allocations: 0.5165 MB / 1.176 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.034, allocations: 0 / 1.176 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/1.035, allocations: 215.9 kB / 1.177 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.037, allocations: 478 kB / 1.177 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/1.039, allocations: 1.669 MB / 1.179 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/1.04, allocations: 1.032 MB / 1.18 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006683/1.04, allocations: 203 kB / 1.18 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.04, allocations: 59.44 kB / 1.18 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.04, allocations: 0 / 1.18 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of Templates: time 0.02872/1.069, allocations: 15.06 MB / 1.195 GB, free: 5.051 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches