Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0009752/0.0009752, 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.001139/0.001139, allocations: 177 kB / 23.5 MB, free: 1.055 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.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.109/2.109, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.053e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.673/0.673, allocations: 184.3 MB / 1.058 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6864, allocations: 13.41 MB / 1.071 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.6877, allocations: 41.56 kB / 1.071 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.6889, allocations: 430.3 kB / 1.072 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.6914, allocations: 1.237 MB / 1.073 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6929, allocations: 0.7675 MB / 1.074 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002242/0.6951, allocations: 2.031 MB / 1.076 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009053/0.696, allocations: 0.6107 MB / 1.076 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.6998, allocations: 2.23 MB / 1.078 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.7012, allocations: 0.6326 MB / 1.079 GB, free: 47.31 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.7014, allocations: 81.22 kB / 1.079 GB, free: 47.31 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.7028, allocations: 0.7368 MB / 1.08 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.7031, allocations: 420.4 kB / 1.08 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.7035, allocations: 355.4 kB / 1.081 GB, free: 47.15 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.7054, allocations: 1.129 MB / 1.082 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7054, allocations: 1.094 kB / 1.082 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7054, allocations: 0 / 1.082 GB, free: 47.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.7055, allocations: 0 / 1.082 GB, free: 47.01 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001547/0.707, allocations: 1.287 MB / 1.083 GB, free: 46.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7071, allocations: 8.281 kB / 1.083 GB, free: 46.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/0.708, allocations: 296.4 kB / 1.083 GB, free: 46.21 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.7087, allocations: 0.634 MB / 1.084 GB, free: 45.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.7088, allocations: 57.5 kB / 1.084 GB, free: 45.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.7089, allocations: 83.23 kB / 1.084 GB, free: 45.95 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.7097, allocations: 0.8681 MB / 1.085 GB, free: 45.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.7097, allocations: 3.094 kB / 1.085 GB, free: 45.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.7097, allocations: 34.25 kB / 1.085 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.7097, allocations: 33.12 kB / 1.085 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.7102, allocations: 302.5 kB / 1.085 GB, free: 45.43 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.002637/0.7129, allocations: 4.629 MB / 1.09 GB, free: 41.92 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.7133, allocations: 326.5 kB / 1.09 GB, free: 41.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.7135, allocations: 137.1 kB / 1.09 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.7136, allocations: 28.38 kB / 1.09 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.7136, allocations: 44.36 kB / 1.09 GB, free: 41.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.336e-06/0.7136, allocations: 3.938 kB / 1.09 GB, free: 41.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001907/0.7155, allocations: 1.125 MB / 1.091 GB, free: 41.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.7156, allocations: 108.8 kB / 1.091 GB, free: 41.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.716, allocations: 0.5439 MB / 1.092 GB, free: 40.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.716, allocations: 36.33 kB / 1.092 GB, free: 40.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.7163, allocations: 487.6 kB / 1.093 GB, free: 40.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.7164, allocations: 179.7 kB / 1.093 GB, free: 40.44 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.7165, allocations: 121.6 kB / 1.093 GB, free: 40.41 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7166, allocations: 0.5457 MB / 1.093 GB, free: 39.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.7167, allocations: 71.55 kB / 1.093 GB, free: 39.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.717, allocations: 0.5363 MB / 1.094 GB, free: 39.36 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.7177, allocations: 0.622 MB / 1.095 GB, free: 39.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7177, allocations: 2.812 kB / 1.095 GB, free: 39.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005609/0.7182, allocations: 476 kB / 1.095 GB, free: 38.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7183, allocations: 12.44 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7183, allocations: 6 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.7183, allocations: 11.28 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.7186, allocations: 127.8 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.7186, allocations: 14.88 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.7189, allocations: 28.03 kB / 1.095 GB, free: 38.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.7189, allocations: 27.09 kB / 1.095 GB, free: 38.94 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: 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.000195/0.7191, allocations: 206.6 kB / 1.095 GB, free: 38.78 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.7192, allocations: 77.83 kB / 1.095 GB, free: 38.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/0.7193, allocations: 78.47 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7193, allocations: 6.656 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.7193, allocations: 2.312 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003388/0.7196, allocations: 0.5383 MB / 1.096 GB, free: 38.28 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.721, allocations: 1.391 MB / 1.097 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.721, allocations: 6 kB / 1.097 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.7212, allocations: 100.4 kB / 1.098 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.7212, allocations: 5.312 kB / 1.098 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.7213, allocations: 18.77 kB / 1.098 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.7213, allocations: 9.125 kB / 1.098 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7213, allocations: 13.03 kB / 1.098 GB, free: 37.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.722, allocations: 0.6648 MB / 1.098 GB, free: 37.12 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.7222, allocations: 104.4 kB / 1.098 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.7222, allocations: 15.06 kB / 1.098 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.7225, allocations: 27.36 kB / 1.098 GB, free: 37.08 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.7225, allocations: 42.2 kB / 1.098 GB, free: 37.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.7226, allocations: 22 kB / 1.098 GB, free: 37.08 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003504/0.7229, allocations: 342.9 kB / 1.099 GB, free: 36.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7229, allocations: 0.75 kB / 1.099 GB, free: 36.95 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007184/0.7237, allocations: 206 kB / 1.099 GB, free: 36.95 MB / 1.01 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.0004552/0.7241, allocations: 189.8 kB / 1.099 GB, free: 36.86 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.7246, allocations: 298.8 kB / 1.099 GB, free: 36.84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7246, allocations: 2.031 kB / 1.099 GB, free: 36.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.7248, allocations: 137.1 kB / 1.1 GB, free: 36.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.726, allocations: 337.2 kB / 1.1 GB, free: 36.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.7285, allocations: 1.481 MB / 1.101 GB, free: 35.99 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.7287, allocations: 215.3 kB / 1.102 GB, free: 35.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000485/0.7292, allocations: 151.2 kB / 1.102 GB, free: 35.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.7294, allocations: 52.81 kB / 1.102 GB, free: 35.89 MB / 1.01 GB Notification: Performance of SimCode: time 2.254e-06/0.7294, allocations: 0 / 1.102 GB, free: 35.89 MB / 1.01 GB Notification: Performance of Templates: time 0.02096/0.7503, allocations: 11.98 MB / 1.113 GB, free: 34.73 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.311572097009048]