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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001304/0.001304, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001305/0.001305, allocations: 192 kB / 17.31 MB, free: 5.18 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 62.91 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6373/0.9042, allocations: 187.3 MB / 1.202 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.9185, allocations: 13.07 MB / 1.214 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.92, allocations: 31.5 kB / 1.214 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.9214, allocations: 420.9 kB / 1.215 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.9242, allocations: 1.165 MB / 1.216 GB, free: 11.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.9259, allocations: 0.6954 MB / 1.217 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.928, allocations: 2.025 MB / 1.219 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.9291, allocations: 0.8335 MB / 1.219 GB, free: 9.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.9325, allocations: 1.808 MB / 1.221 GB, free: 8.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.9338, allocations: 0.6672 MB / 1.222 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.9339, allocations: 77.72 kB / 1.222 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.9354, allocations: 0.8636 MB / 1.223 GB, free: 7.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.9357, allocations: 395 kB / 1.223 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.9362, allocations: 0.4961 MB / 1.224 GB, free: 7 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9378, allocations: 1.498 MB / 1.225 GB, free: 5.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9378, allocations: 4 kB / 1.225 GB, free: 5.707 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9378, allocations: 0 / 1.225 GB, free: 5.707 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9379, allocations: 0 / 1.225 GB, free: 5.707 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.00184/0.9397, allocations: 1.239 MB / 1.226 GB, free: 4.414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9398, allocations: 8.922 kB / 1.226 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.941, allocations: 210.6 kB / 1.227 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.9421, allocations: 0.6793 MB / 1.227 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.9422, allocations: 65.97 kB / 1.227 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9423, allocations: 76 kB / 1.227 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.9435, allocations: 0.935 MB / 1.228 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9435, allocations: 6.875 kB / 1.228 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.9436, allocations: 32 kB / 1.228 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.9436, allocations: 33.25 kB / 1.228 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.9446, allocations: 0.6216 MB / 1.229 GB, free: 1.633 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.003878/0.9485, allocations: 4.574 MB / 1.233 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.9492, allocations: 0.5469 MB / 1.234 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.9495, allocations: 255.8 kB / 1.234 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.9497, allocations: 101.1 kB / 1.234 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.9498, allocations: 38.5 kB / 1.234 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.9498, allocations: 8 kB / 1.234 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.002552/0.9523, allocations: 1.585 MB / 1.236 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.9524, allocations: 110.8 kB / 1.236 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.9531, allocations: 0.7116 MB / 1.237 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.9532, allocations: 41.95 kB / 1.237 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.9535, allocations: 411.8 kB / 1.237 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9536, allocations: 165.6 kB / 1.237 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.9538, allocations: 118.2 kB / 1.237 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9539, allocations: 326 kB / 1.238 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.9542, allocations: 189.2 kB / 1.238 GB, free: 8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.9546, allocations: 428.9 kB / 1.238 GB, free: 7.484 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.002145/0.9568, allocations: 1.178 MB / 1.239 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9568, allocations: 4 kB / 1.239 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009442/0.9577, allocations: 0.6676 MB / 1.24 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.9578, allocations: 11.94 kB / 1.24 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.9578, allocations: 4 kB / 1.24 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.9578, allocations: 12 kB / 1.24 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.9582, allocations: 124.4 kB / 1.24 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9583, allocations: 15.94 kB / 1.24 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.9588, allocations: 31.98 kB / 1.24 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.9588, allocations: 24 kB / 1.24 GB, free: 5.305 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.0003262/0.9592, allocations: 271.3 kB / 1.241 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.9593, allocations: 86.91 kB / 1.241 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.9595, allocations: 95.66 kB / 1.241 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.9595, allocations: 4 kB / 1.241 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.9595, allocations: 1.125 kB / 1.241 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006732/0.9602, allocations: 0.6949 MB / 1.241 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.9625, allocations: 1.65 MB / 1.243 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9625, allocations: 4 kB / 1.243 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.9629, allocations: 100.4 kB / 1.243 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.9629, allocations: 7.938 kB / 1.243 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.963, allocations: 19.98 kB / 1.243 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.963, allocations: 12.5 kB / 1.243 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.963, allocations: 4 kB / 1.243 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.964, allocations: 0.8533 MB / 1.244 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.9643, allocations: 208.2 kB / 1.244 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.9644, allocations: 24.05 kB / 1.244 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.9649, allocations: 27.92 kB / 1.244 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.965, allocations: 35.91 kB / 1.244 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.965, allocations: 23.98 kB / 1.244 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005652/0.9656, allocations: 0.5068 MB / 1.245 GB, free: 420 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9656, allocations: 0 / 1.245 GB, free: 420 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006855/0.9663, allocations: 208 kB / 1.245 GB, free: 212 kB / 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.0004242/0.9667, allocations: 192.9 kB / 1.245 GB, free: 32 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007351/0.9674, allocations: 485.4 kB / 1.246 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.9675, allocations: 4 kB / 1.246 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.9677, allocations: 207.7 kB / 1.246 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.9696, allocations: 491.7 kB / 1.246 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.9718, allocations: 1.652 MB / 1.248 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.9723, allocations: 1.032 MB / 1.249 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005294/0.9729, allocations: 207 kB / 1.249 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.973, allocations: 59.44 kB / 1.249 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.9731, allocations: 0 / 1.249 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Templates: time 0.02355/0.9966, allocations: 15.03 MB / 1.264 GB, free: 13.04 MB / 0.9669 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches