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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001179, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.11 kB / 0.9083 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2575, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.189/0.4465, allocations: 187.3 MB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.505/0.9516, allocations: 13.06 MB / 1.259 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.9528, allocations: 33.62 kB / 1.259 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.954, allocations: 425.4 kB / 1.26 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.9567, allocations: 1.16 MB / 1.261 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.9585, allocations: 0.6936 MB / 1.262 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.9608, allocations: 2.018 MB / 1.264 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.9619, allocations: 0.8462 MB / 1.264 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.9658, allocations: 1.802 MB / 1.266 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.9672, allocations: 0.6688 MB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.9673, allocations: 78.94 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.969, allocations: 0.8634 MB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.9694, allocations: 388.4 kB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.9699, allocations: 0.5016 MB / 1.269 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.9717, allocations: 1.469 MB / 1.27 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9717, allocations: 0.875 kB / 1.27 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9717, allocations: 0 / 1.27 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9718, allocations: 0 / 1.27 GB, free: 4.434 MB / 0.9981 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.001831/0.9736, allocations: 1.24 MB / 1.271 GB, free: 19.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9736, allocations: 12.02 kB / 1.271 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.9738, allocations: 122.9 kB / 1.271 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.975, allocations: 213.3 kB / 1.272 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009092/0.9759, allocations: 0.6425 MB / 1.272 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.9759, allocations: 57.67 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.9761, allocations: 82.31 kB / 1.272 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.9775, allocations: 0.936 MB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.9775, allocations: 7.188 kB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.9776, allocations: 29.34 kB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.9776, allocations: 33.69 kB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.9786, allocations: 0.6176 MB / 1.274 GB, free: 19.08 MB / 1.014 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.004206/0.9829, allocations: 4.599 MB / 1.278 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.9837, allocations: 0.5414 MB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.9841, allocations: 250.2 kB / 1.279 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.9842, allocations: 113.3 kB / 1.279 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.9843, allocations: 42.12 kB / 1.279 GB, free: 15.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.9843, allocations: 0.9375 kB / 1.279 GB, free: 15.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.003052/0.9874, allocations: 1.584 MB / 1.281 GB, free: 14.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.9874, allocations: 112.9 kB / 1.281 GB, free: 14.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.9883, allocations: 0.7114 MB / 1.282 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.9884, allocations: 38.08 kB / 1.282 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.9887, allocations: 418.3 kB / 1.282 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.9888, allocations: 161.9 kB / 1.282 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.989, allocations: 117.3 kB / 1.282 GB, free: 14.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9891, allocations: 332.6 kB / 1.283 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.9894, allocations: 184.1 kB / 1.283 GB, free: 14.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.9898, allocations: 429.7 kB / 1.283 GB, free: 13.83 MB / 1.014 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.002264/0.9921, allocations: 1.183 MB / 1.284 GB, free: 13.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9921, allocations: 1.906 kB / 1.284 GB, free: 13.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001069/0.9932, allocations: 0.6679 MB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9932, allocations: 10.62 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9932, allocations: 6.375 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.9933, allocations: 13.58 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.9937, allocations: 126.8 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.9938, allocations: 15.45 kB / 1.285 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.9944, allocations: 34.5 kB / 1.285 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.9944, allocations: 27.19 kB / 1.285 GB, free: 13.41 MB / 1.014 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.0003902/0.9948, allocations: 271 kB / 1.286 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.995, allocations: 86.97 kB / 1.286 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.9952, allocations: 91.28 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9952, allocations: 5.219 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.9952, allocations: 3.016 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/0.9959, allocations: 0.6935 MB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.9983, allocations: 1.64 MB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.9983, allocations: 8.938 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.9988, allocations: 101.1 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.9988, allocations: 7.062 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.9989, allocations: 14.72 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.9989, allocations: 11.12 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9989, allocations: 4.656 kB / 1.288 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/1, allocations: 0.8591 MB / 1.289 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/1, allocations: 209.1 kB / 1.289 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1, allocations: 21.25 kB / 1.289 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/1.001, allocations: 22.8 kB / 1.289 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.001, allocations: 42.12 kB / 1.289 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.001, allocations: 17.67 kB / 1.289 GB, free: 11.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006502/1.002, allocations: 0.5135 MB / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.002, allocations: 0 / 1.29 GB, free: 11.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007906/1.002, allocations: 205.4 kB / 1.29 GB, free: 11.64 MB / 1.014 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.001707/1.004, allocations: 1.5 MB / 1.291 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008513/1.005, allocations: 0.5221 MB / 1.292 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.005, allocations: 0.875 kB / 1.292 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/1.005, allocations: 210.8 kB / 1.292 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.007, allocations: 479 kB / 1.293 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/1.016, allocations: 6.929 MB / 1.299 GB, free: 7.742 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/1.016, allocations: 1.03 MB / 1.3 GB, free: 7.031 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007804/1.017, allocations: 197.5 kB / 1.301 GB, free: 6.992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.017, allocations: 296.4 kB / 1.301 GB, free: 6.984 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.017, allocations: 1.156 kB / 1.301 GB, free: 6.984 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/1.06, allocations: 22.06 MB / 1.322 GB, free: 4.824 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.891, allocations: 12.41 kB / 1.322 GB, free: 4.82 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches