Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.88 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7033/0.969, allocations: 191.3 MB / 1.402 GB, free: 8.152 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00936/0.9784, allocations: 5.72 MB / 1.408 GB, free: 3.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.9797, allocations: 40.91 kB / 1.408 GB, free: 3.484 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.9813, allocations: 0.5919 MB / 1.409 GB, free: 3.004 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.9854, allocations: 1.673 MB / 1.41 GB, free: 1.711 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.9885, allocations: 1.235 MB / 1.411 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.9919, allocations: 2.518 MB / 1.414 GB, free: 15.35 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.9931, allocations: 0.7146 MB / 1.415 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.9951, allocations: 1.07 MB / 1.416 GB, free: 14.2 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.997, allocations: 0.8869 MB / 1.417 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.9973, allocations: 100.2 kB / 1.417 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/1, allocations: 1.606 MB / 1.418 GB, free: 12.79 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006885/1.001, allocations: 0.4944 MB / 1.419 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.002, allocations: 0.6164 MB / 1.419 GB, free: 12.06 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003492/1.005, allocations: 2.124 MB / 1.421 GB, free: 10.7 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/1.005, allocations: 0 / 1.421 GB, free: 10.7 MB / 1.092 GB Notification: Performance of FrontEnd: time 8.81e-07/1.005, allocations: 0 / 1.421 GB, free: 10.7 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.619e-05/1.005, allocations: 0 / 1.421 GB, free: 10.7 MB / 1.092 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.002847/1.008, allocations: 1.51 MB / 1.423 GB, free: 9.543 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/1.008, allocations: 10.38 kB / 1.423 GB, free: 9.543 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/1.009, allocations: 136.4 kB / 1.423 GB, free: 9.434 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.01, allocations: 335.2 kB / 1.423 GB, free: 9.281 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.012, allocations: 0.825 MB / 1.424 GB, free: 8.645 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/1.012, allocations: 61.34 kB / 1.424 GB, free: 8.617 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.012, allocations: 88.11 kB / 1.424 GB, free: 8.586 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.014, allocations: 1.068 MB / 1.425 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.014, allocations: 0 / 1.425 GB, free: 7.93 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/1.014, allocations: 38.09 kB / 1.425 GB, free: 7.902 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/1.014, allocations: 44.36 kB / 1.425 GB, free: 7.887 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.015, allocations: 0.8257 MB / 1.426 GB, free: 7.492 MB / 1.092 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.005445/1.021, allocations: 4.267 MB / 1.43 GB, free: 3.805 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/1.021, allocations: 358.6 kB / 1.431 GB, free: 3.445 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/1.022, allocations: 196.8 kB / 1.431 GB, free: 3.25 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/1.022, allocations: 105.1 kB / 1.431 GB, free: 3.129 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.022, allocations: 42.56 kB / 1.431 GB, free: 3.078 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 1.684e-06/1.022, allocations: 0 / 1.431 GB, free: 3.078 MB / 1.092 GB Notification: Performance of matching and sorting (n=38): time 0.002499/1.024, allocations: 1.353 MB / 1.432 GB, free: 1.672 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.024, allocations: 59.16 kB / 1.432 GB, free: 1.602 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.026, allocations: 1.001 MB / 1.433 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/1.026, allocations: 33.7 kB / 1.433 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/1.026, allocations: 0.5041 MB / 1.434 GB, free: 32 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.026, allocations: 150.8 kB / 1.434 GB, free: 15.88 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.027, allocations: 118.2 kB / 1.434 GB, free: 15.75 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.027, allocations: 334 kB / 1.434 GB, free: 15.42 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/1.027, allocations: 237.2 kB / 1.435 GB, free: 15.19 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/1.028, allocations: 419.9 kB / 1.435 GB, free: 14.7 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/1.03, allocations: 1.214 MB / 1.436 GB, free: 13.39 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/1.03, allocations: 0 / 1.436 GB, free: 13.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001503/1.032, allocations: 0.7751 MB / 1.437 GB, free: 12.62 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.032, allocations: 8 kB / 1.437 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.032, allocations: 4 kB / 1.437 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.032, allocations: 11.94 kB / 1.437 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/1.032, allocations: 156.1 kB / 1.437 GB, free: 12.44 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.032, allocations: 8 kB / 1.437 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/1.033, allocations: 48.83 kB / 1.437 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.033, allocations: 35.98 kB / 1.437 GB, free: 12.35 MB / 1.107 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.0004892/1.034, allocations: 316.3 kB / 1.438 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.034, allocations: 107.3 kB / 1.438 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/1.034, allocations: 105 kB / 1.438 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.034, allocations: 4 kB / 1.438 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.034, allocations: 0 / 1.438 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007512/1.035, allocations: 0.6752 MB / 1.438 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/1.037, allocations: 1.586 MB / 1.44 GB, free: 9.371 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.037, allocations: 4 kB / 1.44 GB, free: 9.367 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/1.038, allocations: 83.91 kB / 1.44 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/1.038, allocations: 4.5 kB / 1.44 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/1.038, allocations: 19.98 kB / 1.44 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/1.038, allocations: 15.88 kB / 1.44 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.038, allocations: 4 kB / 1.44 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.039, allocations: 0.83 MB / 1.441 GB, free: 8.348 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/1.039, allocations: 240.4 kB / 1.441 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.039, allocations: 23.92 kB / 1.441 GB, free: 8.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/1.04, allocations: 33.8 kB / 1.441 GB, free: 8.039 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/1.04, allocations: 39.84 kB / 1.441 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/1.04, allocations: 23.98 kB / 1.441 GB, free: 7.977 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001027/1.041, allocations: 0.7116 MB / 1.442 GB, free: 7.254 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.041, allocations: 4 kB / 1.442 GB, free: 7.25 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000783/1.042, allocations: 251.9 kB / 1.442 GB, free: 7.004 MB / 1.107 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.001717/1.044, allocations: 1.48 MB / 1.444 GB, free: 5.453 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009702/1.045, allocations: 496 kB / 1.444 GB, free: 4.969 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.045, allocations: 0 / 1.444 GB, free: 4.969 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/1.045, allocations: 191.8 kB / 1.444 GB, free: 4.785 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.047, allocations: 0.6163 MB / 1.445 GB, free: 4.18 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.059, allocations: 7.627 MB / 1.452 GB, free: 12.18 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000815/1.06, allocations: 1.103 MB / 1.453 GB, free: 11.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000842/1.061, allocations: 248.2 kB / 1.454 GB, free: 10.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/1.061, allocations: 343.3 kB / 1.454 GB, free: 10.46 MB / 1.123 GB Notification: Performance of SimCode: time 7.92e-07/1.061, allocations: 0 / 1.454 GB, free: 10.46 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/1.125, allocations: 27.95 MB / 1.481 GB, free: 14.93 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/9.9, allocations: 3.719 kB / 1.481 GB, free: 14.93 MB / 1.154 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volDyn.ports[1].m_flow in file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volDyn.ports[1].m_flow from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable C_flow.y in file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable C_flow.y from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable volDyn.C[1] in file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volDyn.C[1] from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable volSte.C[1] in file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volSte.C[1] from file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.121133925000322]