Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 89.08 kB / 19.42 MB, free: 492 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 169 kB / 22.73 MB, free: 1.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9969/0.9969, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.104/2.104, allocations: 429.5 MB / 0.6728 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.904e-05, allocations: 6.141 kB / 0.8774 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6612/0.6612, allocations: 187.4 MB / 1.06 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.6688, allocations: 5.801 MB / 1.066 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008465/0.6697, allocations: 55.47 kB / 1.066 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.6709, allocations: 0.5464 MB / 1.067 GB, free: 47.55 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.674, allocations: 1.725 MB / 1.068 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.6762, allocations: 1.245 MB / 1.07 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.6788, allocations: 2.562 MB / 1.072 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009302/0.6798, allocations: 0.7363 MB / 1.073 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.6818, allocations: 1.552 MB / 1.074 GB, free: 47.26 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.683, allocations: 0.7933 MB / 1.075 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.6832, allocations: 102.1 kB / 1.075 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.6849, allocations: 1.271 MB / 1.076 GB, free: 47.06 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.6853, allocations: 0.5296 MB / 1.077 GB, free: 47.01 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000453/0.6857, allocations: 460.4 kB / 1.077 GB, free: 46.96 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.6876, allocations: 1.627 MB / 1.079 GB, free: 46.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6877, allocations: 1.062 kB / 1.079 GB, free: 46.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6877, allocations: 3.094 kB / 1.079 GB, free: 46.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.6877, allocations: 0 / 1.079 GB, free: 46.77 MB / 1.01 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.001788/0.6895, allocations: 1.546 MB / 1.08 GB, free: 45.94 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6895, allocations: 12.31 kB / 1.08 GB, free: 45.94 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.6907, allocations: 413.7 kB / 1.081 GB, free: 45.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.6916, allocations: 0.7595 MB / 1.082 GB, free: 45.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.6916, allocations: 64.41 kB / 1.082 GB, free: 45.58 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6917, allocations: 101.8 kB / 1.082 GB, free: 45.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009408/0.6927, allocations: 1.2 MB / 1.083 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6927, allocations: 0.9062 kB / 1.083 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.6927, allocations: 40.62 kB / 1.083 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.6928, allocations: 36.69 kB / 1.083 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.6933, allocations: 353.8 kB / 1.083 GB, free: 44.8 MB / 1.01 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.002653/0.696, allocations: 3.376 MB / 1.087 GB, free: 43.02 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.6963, allocations: 205.8 kB / 1.087 GB, free: 42.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.6964, allocations: 97.12 kB / 1.087 GB, free: 42.97 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/0.6965, allocations: 23.91 kB / 1.087 GB, free: 42.97 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6965, allocations: 46.44 kB / 1.087 GB, free: 42.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/0.6965, allocations: 0.8438 kB / 1.087 GB, free: 42.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.0013/0.6978, allocations: 0.8581 MB / 1.088 GB, free: 42.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.6979, allocations: 56.66 kB / 1.088 GB, free: 42.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.6984, allocations: 0.6862 MB / 1.089 GB, free: 42.29 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.6984, allocations: 35.27 kB / 1.089 GB, free: 42.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.6986, allocations: 0.5733 MB / 1.089 GB, free: 41.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.6987, allocations: 149.6 kB / 1.089 GB, free: 41.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.6988, allocations: 128.5 kB / 1.089 GB, free: 41.81 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6989, allocations: 0.5614 MB / 1.09 GB, free: 41.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6991, allocations: 71.44 kB / 1.09 GB, free: 41.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.6993, allocations: 387.4 kB / 1.09 GB, free: 40.95 MB / 1.01 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.0006509/0.7, allocations: 0.5875 MB / 1.091 GB, free: 40.64 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7, allocations: 2.594 kB / 1.091 GB, free: 40.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005831/0.7005, allocations: 486 kB / 1.091 GB, free: 40.56 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.7006, allocations: 5.344 kB / 1.091 GB, free: 40.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.7006, allocations: 6.406 kB / 1.091 GB, free: 40.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7006, allocations: 14.03 kB / 1.091 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.7009, allocations: 141.1 kB / 1.092 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.7009, allocations: 14.42 kB / 1.092 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.7013, allocations: 37.45 kB / 1.092 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.7013, allocations: 29.19 kB / 1.092 GB, free: 40.55 MB / 1.01 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.0001593/0.7014, allocations: 199.7 kB / 1.092 GB, free: 40.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.7015, allocations: 89.25 kB / 1.092 GB, free: 40.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.7016, allocations: 79.45 kB / 1.092 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7016, allocations: 12.12 kB / 1.092 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7016, allocations: 0 / 1.092 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002795/0.7019, allocations: 0.5131 MB / 1.093 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.7033, allocations: 1.213 MB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7033, allocations: 4.656 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.7036, allocations: 88.97 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.7037, allocations: 5.719 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.7037, allocations: 12.06 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.7037, allocations: 9.625 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7037, allocations: 4.312 kB / 1.094 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.7043, allocations: 0.6241 MB / 1.094 GB, free: 38.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.7046, allocations: 141 kB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.7046, allocations: 14.62 kB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.7049, allocations: 31.28 kB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.705, allocations: 38.28 kB / 1.095 GB, free: 38.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.705, allocations: 29.92 kB / 1.095 GB, free: 38.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003807/0.7054, allocations: 431 kB / 1.095 GB, free: 38.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7054, allocations: 0 / 1.095 GB, free: 38.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006391/0.706, allocations: 259.7 kB / 1.095 GB, free: 38.78 MB / 1.01 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.0003158/0.7063, allocations: 192.9 kB / 1.096 GB, free: 38.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.7068, allocations: 279.4 kB / 1.096 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7068, allocations: 2.531 kB / 1.096 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.707, allocations: 119.2 kB / 1.096 GB, free: 38.65 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7082, allocations: 453.5 kB / 1.096 GB, free: 38.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.7104, allocations: 1.623 MB / 1.098 GB, free: 37.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.7106, allocations: 241.3 kB / 1.098 GB, free: 37.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.7111, allocations: 183 kB / 1.098 GB, free: 37.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.7113, allocations: 66.39 kB / 1.098 GB, free: 37.62 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.7113, allocations: 1.312 kB / 1.098 GB, free: 37.62 MB / 1.01 GB Notification: Performance of Templates: time 0.0247/0.736, allocations: 15.75 MB / 1.114 GB, free: 36.04 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.558883088175207]