Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001736/0.001737, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 68.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9754, allocations: 151.6 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2101/1.186, allocations: 190.4 MB / 1.353 GB, free: 4.934 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009883/1.195, allocations: 5.685 MB / 1.359 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/1.197, allocations: 43.75 kB / 1.359 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/1.199, allocations: 0.5826 MB / 1.359 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/1.204, allocations: 1.678 MB / 1.361 GB, free: 12.92 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.208, allocations: 1.209 MB / 1.362 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003781/1.212, allocations: 2.517 MB / 1.365 GB, free: 9.191 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/1.214, allocations: 0.9965 MB / 1.366 GB, free: 8.176 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/1.216, allocations: 1.062 MB / 1.367 GB, free: 7.109 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/1.218, allocations: 0.8149 MB / 1.367 GB, free: 6.297 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003688/1.219, allocations: 100 kB / 1.368 GB, free: 6.199 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/1.222, allocations: 1.536 MB / 1.369 GB, free: 4.66 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008585/1.223, allocations: 498.7 kB / 1.37 GB, free: 4.172 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.225, allocations: 0.6222 MB / 1.37 GB, free: 3.547 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004431/1.229, allocations: 2.103 MB / 1.372 GB, free: 1.438 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.229, allocations: 4 kB / 1.372 GB, free: 1.434 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/1.229, allocations: 0 / 1.372 GB, free: 1.434 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.337e-05/1.229, allocations: 0 / 1.372 GB, free: 1.434 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003637/1.233, allocations: 1.476 MB / 1.374 GB, free: 15.9 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.233, allocations: 8.922 kB / 1.374 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/1.235, allocations: 326.3 kB / 1.374 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/1.237, allocations: 0.8077 MB / 1.375 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/1.237, allocations: 69.98 kB / 1.375 GB, free: 14.65 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/1.237, allocations: 83.91 kB / 1.375 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.239, allocations: 1.086 MB / 1.376 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/1.24, allocations: 0 / 1.376 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.24, allocations: 32 kB / 1.376 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/1.24, allocations: 41.94 kB / 1.376 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.241, allocations: 0.8275 MB / 1.377 GB, free: 12.55 MB / 1.107 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.006753/1.248, allocations: 4.262 MB / 1.381 GB, free: 8.012 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/1.249, allocations: 363.2 kB / 1.381 GB, free: 7.648 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/1.249, allocations: 221.3 kB / 1.382 GB, free: 7.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.249, allocations: 97.09 kB / 1.382 GB, free: 7.316 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.25, allocations: 38.56 kB / 1.382 GB, free: 7.27 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 3.657e-06/1.25, allocations: 0 / 1.382 GB, free: 7.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=38): time 0.003009/1.253, allocations: 1.336 MB / 1.383 GB, free: 5.879 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.253, allocations: 59.16 kB / 1.383 GB, free: 5.809 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.254, allocations: 1.008 MB / 1.384 GB, free: 4.777 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/1.254, allocations: 37.7 kB / 1.384 GB, free: 4.734 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/1.255, allocations: 0.4914 MB / 1.385 GB, free: 4.238 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/1.255, allocations: 134 kB / 1.385 GB, free: 4.105 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.255, allocations: 126.1 kB / 1.385 GB, free: 3.977 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.255, allocations: 326 kB / 1.385 GB, free: 3.652 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/1.256, allocations: 237.1 kB / 1.385 GB, free: 3.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/1.256, allocations: 426.9 kB / 1.386 GB, free: 2.93 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/1.259, allocations: 1.225 MB / 1.387 GB, free: 1.609 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.259, allocations: 4 kB / 1.387 GB, free: 1.605 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001428/1.26, allocations: 0.7656 MB / 1.388 GB, free: 0.832 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.261, allocations: 10.34 kB / 1.388 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.261, allocations: 8 kB / 1.388 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.261, allocations: 11.94 kB / 1.388 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/1.261, allocations: 139.8 kB / 1.388 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/1.261, allocations: 11.98 kB / 1.388 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/1.262, allocations: 56.02 kB / 1.388 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/1.262, allocations: 28 kB / 1.388 GB, free: 0.5742 MB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0005437/1.263, allocations: 313.5 kB / 1.388 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.263, allocations: 94.88 kB / 1.388 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/1.263, allocations: 113 kB / 1.388 GB, free: 52 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.263, allocations: 4 kB / 1.388 GB, free: 48 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.263, allocations: 4 kB / 1.388 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007109/1.264, allocations: 0.6674 MB / 1.389 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/1.267, allocations: 1.586 MB / 1.391 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.267, allocations: 4 kB / 1.391 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/1.267, allocations: 79.89 kB / 1.391 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.267, allocations: 12 kB / 1.391 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/1.267, allocations: 16 kB / 1.391 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.267, allocations: 11.88 kB / 1.391 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.267, allocations: 4 kB / 1.391 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.268, allocations: 0.8351 MB / 1.392 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/1.269, allocations: 239.9 kB / 1.392 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/1.269, allocations: 15.94 kB / 1.392 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/1.27, allocations: 38.41 kB / 1.392 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/1.27, allocations: 35.84 kB / 1.392 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/1.27, allocations: 27.98 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001118/1.271, allocations: 0.7077 MB / 1.393 GB, free: 11.49 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.271, allocations: 0 / 1.393 GB, free: 11.49 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008988/1.272, allocations: 256 kB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004964/1.272, allocations: 224.4 kB / 1.393 GB, free: 11.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.273, allocations: 0.492 MB / 1.394 GB, free: 10.52 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.273, allocations: 1.062 kB / 1.394 GB, free: 10.52 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/1.274, allocations: 196.8 kB / 1.394 GB, free: 10.33 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.276, allocations: 0.6186 MB / 1.394 GB, free: 9.727 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/1.279, allocations: 1.913 MB / 1.396 GB, free: 7.727 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/1.28, allocations: 1.099 MB / 1.397 GB, free: 6.602 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/1.28, allocations: 79.42 kB / 1.397 GB, free: 6.523 MB / 1.123 GB Notification: Performance of SimCode: time 2.685e-06/1.28, allocations: 0 / 1.397 GB, free: 6.523 MB / 1.123 GB Notification: Performance of Templates: time 0.0269/1.307, allocations: 16.46 MB / 1.413 GB, free: 6.219 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches