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.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008307/0.008314, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.00232/0.00232, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.677, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2826/0.9597, allocations: 187.3 MB / 1.349 GB, free: 7.762 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.9776, allocations: 13.06 MB / 1.362 GB, free: 10.65 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.9786, allocations: 31.81 kB / 1.362 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9799, allocations: 425.2 kB / 1.362 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.9828, allocations: 1.16 MB / 1.363 GB, free: 9.039 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.9846, allocations: 0.7056 MB / 1.364 GB, free: 8.336 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002688/0.9873, allocations: 2.023 MB / 1.366 GB, free: 6.312 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.9887, allocations: 0.8394 MB / 1.367 GB, free: 5.449 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.9927, allocations: 1.813 MB / 1.369 GB, free: 3.629 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.9942, allocations: 0.6592 MB / 1.369 GB, free: 2.973 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.9944, allocations: 84 kB / 1.369 GB, free: 2.891 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.9962, allocations: 0.8653 MB / 1.37 GB, free: 2.023 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.9967, allocations: 399 kB / 1.371 GB, free: 1.633 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.9973, allocations: 0.4898 MB / 1.371 GB, free: 1.141 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.9997, allocations: 1.499 MB / 1.373 GB, free: 15.64 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9997, allocations: 4 kB / 1.373 GB, free: 15.63 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9997, allocations: 0 / 1.373 GB, free: 15.63 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.9997, allocations: 0 / 1.373 GB, free: 15.63 MB / 1.107 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.002082/1.002, allocations: 1.261 MB / 1.374 GB, free: 14.32 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.002, allocations: 8.625 kB / 1.374 GB, free: 14.31 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/1.002, allocations: 126.5 kB / 1.374 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.003, allocations: 227.1 kB / 1.374 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.004, allocations: 0.6876 MB / 1.375 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/1.005, allocations: 62 kB / 1.375 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.005, allocations: 72 kB / 1.375 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/1.006, allocations: 0.9327 MB / 1.376 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/1.006, allocations: 3.938 kB / 1.376 GB, free: 12.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/1.006, allocations: 39.94 kB / 1.376 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/1.006, allocations: 33.28 kB / 1.376 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/1.007, allocations: 0.6138 MB / 1.377 GB, free: 11.39 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.004972/1.012, allocations: 4.59 MB / 1.381 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/1.013, allocations: 0.5441 MB / 1.382 GB, free: 5.91 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/1.014, allocations: 238.5 kB / 1.382 GB, free: 5.668 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.014, allocations: 101.1 kB / 1.382 GB, free: 5.551 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.014, allocations: 50.5 kB / 1.382 GB, free: 5.492 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/1.014, allocations: 0 / 1.382 GB, free: 5.492 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003213/1.017, allocations: 1.62 MB / 1.383 GB, free: 3.812 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/1.017, allocations: 115 kB / 1.384 GB, free: 3.676 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009947/1.018, allocations: 0.7116 MB / 1.384 GB, free: 2.957 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/1.018, allocations: 41.64 kB / 1.384 GB, free: 2.91 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/1.019, allocations: 420.6 kB / 1.385 GB, free: 2.492 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.019, allocations: 174.5 kB / 1.385 GB, free: 2.32 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.019, allocations: 122.2 kB / 1.385 GB, free: 2.195 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.019, allocations: 326 kB / 1.385 GB, free: 1.871 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/1.02, allocations: 189.2 kB / 1.386 GB, free: 1.688 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.02, allocations: 421 kB / 1.386 GB, free: 1.18 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/1.023, allocations: 1.18 MB / 1.387 GB, free: 15.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.023, allocations: 4 kB / 1.387 GB, free: 15.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001247/1.024, allocations: 0.6718 MB / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.024, allocations: 10.66 kB / 1.388 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.024, allocations: 8.781 kB / 1.388 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/1.024, allocations: 8.094 kB / 1.388 GB, free: 15.19 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/1.025, allocations: 131.8 kB / 1.388 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/1.025, allocations: 11.98 kB / 1.388 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/1.025, allocations: 27.98 kB / 1.388 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/1.025, allocations: 31.98 kB / 1.388 GB, free: 14.99 MB / 1.123 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.0004538/1.026, allocations: 273.5 kB / 1.388 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.026, allocations: 87.42 kB / 1.388 GB, free: 14.63 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/1.026, allocations: 87.67 kB / 1.388 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.026, allocations: 12 kB / 1.388 GB, free: 14.53 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.026, allocations: 0 / 1.388 GB, free: 14.53 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008564/1.027, allocations: 0.6988 MB / 1.389 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/1.03, allocations: 1.638 MB / 1.391 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.03, allocations: 12.05 kB / 1.391 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/1.03, allocations: 107.8 kB / 1.391 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.03, allocations: 4 kB / 1.391 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/1.03, allocations: 16 kB / 1.391 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.03, allocations: 8 kB / 1.391 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.03, allocations: 7.938 kB / 1.391 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/1.032, allocations: 0.8651 MB / 1.392 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/1.032, allocations: 216.5 kB / 1.392 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.032, allocations: 15.98 kB / 1.392 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/1.033, allocations: 26.17 kB / 1.392 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/1.033, allocations: 43.77 kB / 1.392 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/1.033, allocations: 23.94 kB / 1.392 GB, free: 10.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007122/1.033, allocations: 0.5107 MB / 1.392 GB, free: 10.08 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.033, allocations: 0 / 1.392 GB, free: 10.08 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007318/1.034, allocations: 196 kB / 1.393 GB, free: 9.887 MB / 1.123 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.001863/1.036, allocations: 1.509 MB / 1.394 GB, free: 8.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008638/1.037, allocations: 476.3 kB / 1.395 GB, free: 7.855 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.037, allocations: 0 / 1.395 GB, free: 7.855 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/1.037, allocations: 213.1 kB / 1.395 GB, free: 7.648 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.039, allocations: 489 kB / 1.395 GB, free: 7.184 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009517/1.049, allocations: 6.626 MB / 1.402 GB, free: 164 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/1.05, allocations: 1.036 MB / 1.403 GB, free: 15.1 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007266/1.05, allocations: 203 kB / 1.403 GB, free: 14.89 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/1.051, allocations: 295.3 kB / 1.403 GB, free: 14.61 MB / 1.139 GB Notification: Performance of SimCode: time 2.775e-06/1.051, allocations: 0 / 1.403 GB, free: 14.61 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05758/1.108, allocations: 22.26 MB / 1.425 GB, free: 8.711 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/10.56, allocations: 11.03 kB / 1.425 GB, free: 8.703 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/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