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.001131/0.001131, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001062/0.001062, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9174/0.9174, allocations: 177.1 MB / 203.8 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.236/2.236, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.812e-05/3.967e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.585/0.585, allocations: 187.4 MB / 1.061 GB, free: 47.55 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006398/0.5914, allocations: 5.789 MB / 1.067 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.5923, allocations: 59.09 kB / 1.067 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5933, allocations: 0.5542 MB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.596, allocations: 1.72 MB / 1.069 GB, free: 47.44 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.5979, allocations: 1.252 MB / 1.07 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.6001, allocations: 2.564 MB / 1.073 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.6008, allocations: 0.7292 MB / 1.074 GB, free: 47.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.6024, allocations: 1.551 MB / 1.075 GB, free: 47.21 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.6034, allocations: 0.7983 MB / 1.076 GB, free: 47.14 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6035, allocations: 100.4 kB / 1.076 GB, free: 47.14 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.605, allocations: 1.27 MB / 1.077 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.6054, allocations: 0.5329 MB / 1.078 GB, free: 46.96 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.6057, allocations: 454.9 kB / 1.078 GB, free: 46.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.6073, allocations: 1.632 MB / 1.08 GB, free: 46.73 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6073, allocations: 3.938 kB / 1.08 GB, free: 46.72 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6073, allocations: 0 / 1.08 GB, free: 46.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.6073, allocations: 0.8125 kB / 1.08 GB, free: 46.72 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.001425/0.6087, allocations: 1.546 MB / 1.081 GB, free: 45.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6087, allocations: 9.094 kB / 1.081 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.6099, allocations: 421.8 kB / 1.082 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.6107, allocations: 0.7535 MB / 1.082 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.6107, allocations: 68.59 kB / 1.082 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.6108, allocations: 93.94 kB / 1.083 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.6117, allocations: 1.206 MB / 1.084 GB, free: 44.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6118, allocations: 2.875 kB / 1.084 GB, free: 44.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.6118, allocations: 38.41 kB / 1.084 GB, free: 44.77 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.6119, allocations: 34.62 kB / 1.084 GB, free: 44.76 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.6124, allocations: 353.9 kB / 1.084 GB, free: 44.75 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.002492/0.6149, allocations: 3.374 MB / 1.087 GB, free: 42.97 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.6152, allocations: 209.7 kB / 1.088 GB, free: 42.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.6153, allocations: 92.28 kB / 1.088 GB, free: 42.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.6154, allocations: 31.59 kB / 1.088 GB, free: 42.92 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.6154, allocations: 42.95 kB / 1.088 GB, free: 42.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.6154, allocations: 1.031 kB / 1.088 GB, free: 42.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.001234/0.6167, allocations: 0.8559 MB / 1.089 GB, free: 42.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.6167, allocations: 56.31 kB / 1.089 GB, free: 42.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.6172, allocations: 0.6861 MB / 1.089 GB, free: 42.23 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.6172, allocations: 34.52 kB / 1.089 GB, free: 42.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.6174, allocations: 0.568 MB / 1.09 GB, free: 41.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.6175, allocations: 148.2 kB / 1.09 GB, free: 41.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.6176, allocations: 131.2 kB / 1.09 GB, free: 41.76 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.6177, allocations: 0.5583 MB / 1.091 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.6178, allocations: 76.94 kB / 1.091 GB, free: 41.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.618, allocations: 386.8 kB / 1.091 GB, free: 40.9 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.0005946/0.6186, allocations: 0.5844 MB / 1.092 GB, free: 40.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6186, allocations: 3.562 kB / 1.092 GB, free: 40.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005442/0.6192, allocations: 488.7 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6192, allocations: 5.469 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6192, allocations: 7.406 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6192, allocations: 15.19 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.6195, allocations: 136.7 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6195, allocations: 15.53 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.62, allocations: 41.7 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.6201, allocations: 22.62 kB / 1.092 GB, free: 40.5 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.0001573/0.6202, allocations: 201 kB / 1.093 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.6203, allocations: 94.03 kB / 1.093 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.6204, allocations: 79.34 kB / 1.093 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6204, allocations: 6.469 kB / 1.093 GB, free: 40.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6204, allocations: 5.469 kB / 1.093 GB, free: 40.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002712/0.6207, allocations: 0.5114 MB / 1.093 GB, free: 39.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.6219, allocations: 1.211 MB / 1.094 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6219, allocations: 4.188 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.6222, allocations: 88.58 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6222, allocations: 6.875 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.6222, allocations: 14.41 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.6222, allocations: 6.5 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6222, allocations: 7.844 kB / 1.095 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.6227, allocations: 0.6222 MB / 1.095 GB, free: 38.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.6229, allocations: 141.8 kB / 1.095 GB, free: 38.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.6229, allocations: 11.03 kB / 1.095 GB, free: 38.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.6232, allocations: 29.86 kB / 1.095 GB, free: 38.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.6233, allocations: 34.61 kB / 1.095 GB, free: 38.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.6233, allocations: 33.06 kB / 1.095 GB, free: 38.87 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003341/0.6236, allocations: 427.6 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6236, allocations: 0.9375 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005472/0.6242, allocations: 254.5 kB / 1.096 GB, free: 38.73 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.0002587/0.6244, allocations: 198.9 kB / 1.096 GB, free: 38.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.6249, allocations: 290.5 kB / 1.097 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6249, allocations: 2.938 kB / 1.097 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.625, allocations: 115 kB / 1.097 GB, free: 38.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6261, allocations: 460.5 kB / 1.097 GB, free: 38.56 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.6279, allocations: 1.621 MB / 1.099 GB, free: 37.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.628, allocations: 238.6 kB / 1.099 GB, free: 37.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.6284, allocations: 186.9 kB / 1.099 GB, free: 37.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6286, allocations: 58.94 kB / 1.099 GB, free: 37.57 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.6286, allocations: 0.9062 kB / 1.099 GB, free: 37.57 MB / 1.01 GB Notification: Performance of Templates: time 0.021/0.6496, allocations: 15.76 MB / 1.115 GB, free: 35.98 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.430171811953187]