Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.006285/0.006285, allocations: 102 kB / 15.73 MB, free: 6.477 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.001477/0.001477, allocations: 195.6 kB / 16.67 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.3 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2236, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7225/0.9462, allocations: 190.3 MB / 1.273 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008023/0.9542, allocations: 5.684 MB / 1.279 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.9553, allocations: 43.3 kB / 1.279 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.9567, allocations: 0.5637 MB / 1.279 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.9602, allocations: 1.612 MB / 1.281 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.9633, allocations: 1.207 MB / 1.282 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.9666, allocations: 2.508 MB / 1.285 GB, free: 3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.9679, allocations: 0.991 MB / 1.286 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.9696, allocations: 1.026 MB / 1.287 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.9713, allocations: 0.8123 MB / 1.287 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.9714, allocations: 102.5 kB / 1.288 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.9743, allocations: 1.526 MB / 1.289 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005238/0.9749, allocations: 0.4901 MB / 1.29 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.9756, allocations: 0.6162 MB / 1.29 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.9785, allocations: 2.109 MB / 1.292 GB, free: 2.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9785, allocations: 2 kB / 1.292 GB, free: 2.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9785, allocations: 0 / 1.292 GB, free: 2.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.9786, allocations: 0.9688 kB / 1.292 GB, free: 2.754 MB / 1.014 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.002216/0.9808, allocations: 1.473 MB / 1.294 GB, free: 1.977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.9808, allocations: 10.84 kB / 1.294 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.981, allocations: 136.7 kB / 1.294 GB, free: 1.938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/0.983, allocations: 334.6 kB / 1.294 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.9843, allocations: 0.8141 MB / 1.295 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.9844, allocations: 64.38 kB / 1.295 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.9846, allocations: 84.91 kB / 1.295 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.9864, allocations: 1.074 MB / 1.296 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.9864, allocations: 1.094 kB / 1.296 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-05/0.9865, allocations: 42.23 kB / 1.296 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.9866, allocations: 36.5 kB / 1.296 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.9881, allocations: 0.8322 MB / 1.297 GB, free: 1.383 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.005284/0.9934, allocations: 4.255 MB / 1.301 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.9939, allocations: 365.7 kB / 1.301 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.9942, allocations: 217.2 kB / 1.302 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.9944, allocations: 105.7 kB / 1.302 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.9944, allocations: 38.78 kB / 1.302 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.804e-06/0.9944, allocations: 1.469 kB / 1.302 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002317/0.9968, allocations: 1.329 MB / 1.303 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.9968, allocations: 55.09 kB / 1.303 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.998, allocations: 1.006 MB / 1.304 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.9981, allocations: 35.98 kB / 1.304 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.9984, allocations: 0.4925 MB / 1.305 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.9985, allocations: 136.8 kB / 1.305 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.9987, allocations: 125 kB / 1.305 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9988, allocations: 335.8 kB / 1.305 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.9993, allocations: 229.7 kB / 1.305 GB, free: 13.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.9999, allocations: 429.8 kB / 1.306 GB, free: 13.48 MB / 1.029 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.002314/1.002, allocations: 1.211 MB / 1.307 GB, free: 13.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.002, allocations: 1.375 kB / 1.307 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001292/1.003, allocations: 0.7688 MB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.004, allocations: 6.562 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.004, allocations: 8.859 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.004, allocations: 10.62 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/1.004, allocations: 142.2 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.004, allocations: 19.72 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/1.005, allocations: 54.02 kB / 1.308 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/1.005, allocations: 37.47 kB / 1.308 GB, free: 13.07 MB / 1.029 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.0003747/1.006, allocations: 308.2 kB / 1.308 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.006, allocations: 105.5 kB / 1.308 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/1.006, allocations: 101.2 kB / 1.309 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.006, allocations: 4.375 kB / 1.309 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.006, allocations: 0 / 1.309 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006256/1.007, allocations: 0.6811 MB / 1.309 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.009, allocations: 1.591 MB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.009, allocations: 4.75 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/1.009, allocations: 83.86 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/1.009, allocations: 6.781 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/1.009, allocations: 15.19 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.009, allocations: 5.594 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.009, allocations: 10.69 kB / 1.311 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/1.01, allocations: 0.8357 MB / 1.312 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/1.011, allocations: 237.6 kB / 1.312 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.011, allocations: 11.84 kB / 1.312 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/1.011, allocations: 41.05 kB / 1.312 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/1.011, allocations: 36.14 kB / 1.312 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/1.012, allocations: 24.7 kB / 1.312 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009178/1.012, allocations: 0.7082 MB / 1.313 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.162e-06/1.013, allocations: 0.7188 kB / 1.313 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000864/1.013, allocations: 257.6 kB / 1.313 GB, free: 11.41 MB / 1.029 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.001721/1.015, allocations: 1.483 MB / 1.314 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000969/1.016, allocations: 0.5048 MB / 1.315 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.016, allocations: 1.062 kB / 1.315 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/1.017, allocations: 188.1 kB / 1.315 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.019, allocations: 0.6129 MB / 1.316 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.03, allocations: 7.593 MB / 1.323 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/1.031, allocations: 1.096 MB / 1.324 GB, free: 7.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008629/1.032, allocations: 245.4 kB / 1.324 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/1.032, allocations: 344.4 kB / 1.325 GB, free: 7.039 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.032, allocations: 0 / 1.325 GB, free: 7.039 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/1.081, allocations: 27.8 MB / 1.352 GB, free: 15.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/10.15, allocations: 7.844 kB / 1.352 GB, free: 15.55 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches