Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_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.00873/0.00873, allocations: 100.4 kB / 15.73 MB, free: 5.602 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.002245/0.002245, allocations: 190.5 kB / 16.68 MB, free: 5.523 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 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7707, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2186/0.9893, allocations: 187.3 MB / 1.403 GB, free: 6.031 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0178/1.007, allocations: 13.08 MB / 1.416 GB, free: 8.922 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/1.008, allocations: 35.81 kB / 1.416 GB, free: 8.887 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/1.01, allocations: 429.1 kB / 1.416 GB, free: 8.465 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/1.013, allocations: 1.159 MB / 1.417 GB, free: 7.301 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/1.015, allocations: 0.7065 MB / 1.418 GB, free: 6.598 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002955/1.018, allocations: 2.012 MB / 1.42 GB, free: 4.578 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/1.02, allocations: 0.8511 MB / 1.421 GB, free: 3.703 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/1.024, allocations: 1.813 MB / 1.423 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/1.026, allocations: 0.675 MB / 1.423 GB, free: 1.215 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/1.026, allocations: 80 kB / 1.423 GB, free: 1.137 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/1.028, allocations: 0.8692 MB / 1.424 GB, free: 272 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005138/1.028, allocations: 387 kB / 1.425 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007363/1.029, allocations: 0.4975 MB / 1.425 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/1.032, allocations: 1.499 MB / 1.427 GB, free: 13.88 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.032, allocations: 0 / 1.427 GB, free: 13.88 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.605e-06/1.032, allocations: 0 / 1.427 GB, free: 13.88 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.448e-05/1.032, allocations: 0 / 1.427 GB, free: 13.88 MB / 1.154 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.002097/1.034, allocations: 1.265 MB / 1.428 GB, free: 12.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.034, allocations: 12.03 kB / 1.428 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/1.034, allocations: 118.5 kB / 1.428 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/1.035, allocations: 227.1 kB / 1.428 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.037, allocations: 0.6876 MB / 1.429 GB, free: 11.47 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/1.037, allocations: 58 kB / 1.429 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.037, allocations: 76 kB / 1.429 GB, free: 11.34 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/1.038, allocations: 0.9326 MB / 1.43 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/1.038, allocations: 11.92 kB / 1.43 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/1.038, allocations: 35.94 kB / 1.43 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/1.038, allocations: 25.31 kB / 1.43 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.039, allocations: 0.6177 MB / 1.431 GB, free: 9.637 MB / 1.154 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.004937/1.044, allocations: 4.591 MB / 1.435 GB, free: 4.754 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/1.045, allocations: 0.5414 MB / 1.436 GB, free: 4.168 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/1.046, allocations: 244.9 kB / 1.436 GB, free: 3.922 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.046, allocations: 105.1 kB / 1.436 GB, free: 3.801 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.046, allocations: 42.55 kB / 1.436 GB, free: 3.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/1.046, allocations: 7.875 kB / 1.436 GB, free: 3.742 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002993/1.049, allocations: 1.616 MB / 1.438 GB, free: 2.07 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/1.049, allocations: 114.9 kB / 1.438 GB, free: 1.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/1.05, allocations: 0.7078 MB / 1.438 GB, free: 1.215 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/1.05, allocations: 37.7 kB / 1.438 GB, free: 1.172 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/1.05, allocations: 424.5 kB / 1.439 GB, free: 0.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.051, allocations: 170.5 kB / 1.439 GB, free: 0.582 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/1.051, allocations: 126.2 kB / 1.439 GB, free: 460 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.051, allocations: 326 kB / 1.439 GB, free: 128 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/1.051, allocations: 193.2 kB / 1.44 GB, free: 15.94 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/1.052, allocations: 413 kB / 1.44 GB, free: 15.44 MB / 1.17 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.002445/1.054, allocations: 1.178 MB / 1.441 GB, free: 14.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.054, allocations: 7.938 kB / 1.441 GB, free: 14.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001108/1.055, allocations: 0.6764 MB / 1.442 GB, free: 13.46 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.055, allocations: 8 kB / 1.442 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.055, allocations: 12.05 kB / 1.442 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/1.055, allocations: 12 kB / 1.442 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/1.056, allocations: 127.8 kB / 1.442 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/1.056, allocations: 15.94 kB / 1.442 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/1.057, allocations: 30.39 kB / 1.442 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/1.057, allocations: 28.06 kB / 1.442 GB, free: 13.24 MB / 1.17 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.000393/1.057, allocations: 273.6 kB / 1.442 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.057, allocations: 87.42 kB / 1.442 GB, free: 12.88 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/1.057, allocations: 99.66 kB / 1.442 GB, free: 12.78 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.057, allocations: 4 kB / 1.442 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.057, allocations: 0 / 1.442 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008008/1.058, allocations: 0.6949 MB / 1.443 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/1.061, allocations: 1.65 MB / 1.445 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.061, allocations: 4 kB / 1.445 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/1.061, allocations: 99.83 kB / 1.445 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/1.061, allocations: 4 kB / 1.445 GB, free: 10.13 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/1.061, allocations: 16 kB / 1.445 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.061, allocations: 15.92 kB / 1.445 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.061, allocations: 4 kB / 1.445 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.063, allocations: 0.8618 MB / 1.446 GB, free: 9.164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/1.063, allocations: 216.5 kB / 1.446 GB, free: 8.934 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.063, allocations: 16 kB / 1.446 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/1.063, allocations: 19.98 kB / 1.446 GB, free: 8.898 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/1.064, allocations: 35.84 kB / 1.446 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/1.064, allocations: 23.98 kB / 1.446 GB, free: 8.84 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006674/1.064, allocations: 0.5107 MB / 1.446 GB, free: 8.332 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.71e-07/1.064, allocations: 4 kB / 1.446 GB, free: 8.328 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007506/1.065, allocations: 200 kB / 1.447 GB, free: 8.133 MB / 1.17 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.002046/1.067, allocations: 1.509 MB / 1.448 GB, free: 6.562 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008882/1.068, allocations: 479.9 kB / 1.449 GB, free: 6.094 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.068, allocations: 0 / 1.449 GB, free: 6.094 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/1.068, allocations: 209.9 kB / 1.449 GB, free: 5.891 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.071, allocations: 488.3 kB / 1.449 GB, free: 5.426 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/1.08, allocations: 6.639 MB / 1.456 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.081, allocations: 1.024 MB / 1.457 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006945/1.081, allocations: 199 kB / 1.457 GB, free: 13.14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/1.082, allocations: 299.3 kB / 1.457 GB, free: 12.84 MB / 1.186 GB Notification: Performance of SimCode: time 6.42e-07/1.082, allocations: 0 / 1.457 GB, free: 12.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/1.137, allocations: 22.24 MB / 1.479 GB, free: 7.004 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.563/10.7, allocations: 9.547 kB / 1.479 GB, free: 6.996 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches