Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 212.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.018/3.018, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.06 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2164/0.5397, allocations: 165.5 MB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.557, allocations: 11.98 MB / 1.498 GB, free: 196 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009279/0.558, allocations: 47.62 kB / 1.498 GB, free: 148 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5593, allocations: 409.3 kB / 1.499 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.562, allocations: 0.9527 MB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.5641, allocations: 0.7243 MB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.5664, allocations: 1.513 MB / 1.502 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.5674, allocations: 0.4913 MB / 1.502 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.5719, allocations: 1.868 MB / 1.504 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.5735, allocations: 0.5053 MB / 1.505 GB, free: 9.664 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.5737, allocations: 52 kB / 1.505 GB, free: 9.613 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5755, allocations: 0.7171 MB / 1.506 GB, free: 8.895 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.5761, allocations: 279.1 kB / 1.506 GB, free: 8.621 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.5768, allocations: 314.4 kB / 1.506 GB, free: 8.312 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.5789, allocations: 1.164 MB / 1.507 GB, free: 7.145 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5789, allocations: 0 / 1.507 GB, free: 7.145 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5789, allocations: 0 / 1.507 GB, free: 7.145 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.756e-05/0.579, allocations: 3.938 kB / 1.507 GB, free: 7.141 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001942/0.5809, allocations: 1.006 MB / 1.508 GB, free: 6.098 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.581, allocations: 12.03 kB / 1.508 GB, free: 6.086 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5811, allocations: 98.52 kB / 1.508 GB, free: 5.98 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.5823, allocations: 195.3 kB / 1.508 GB, free: 5.789 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5836, allocations: 0.492 MB / 1.509 GB, free: 5.277 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.5837, allocations: 45.31 kB / 1.509 GB, free: 5.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5838, allocations: 60 kB / 1.509 GB, free: 5.172 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.5854, allocations: 0.7962 MB / 1.51 GB, free: 4.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.5855, allocations: 4 kB / 1.51 GB, free: 4.258 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.5855, allocations: 27.94 kB / 1.51 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.5856, allocations: 24.94 kB / 1.51 GB, free: 4.207 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.5865, allocations: 464.1 kB / 1.51 GB, free: 3.75 MB / 1.201 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.004607/0.5912, allocations: 3.998 MB / 1.514 GB, free: 15.58 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.5913, allocations: 110.4 kB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.5914, allocations: 67.5 kB / 1.514 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.5916, allocations: 23.98 kB / 1.514 GB, free: 15.33 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5916, allocations: 38.5 kB / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 4.91e-06/0.5916, allocations: 3.984 kB / 1.514 GB, free: 15.28 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007624/0.5924, allocations: 248.9 kB / 1.515 GB, free: 15.03 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.5925, allocations: 132.5 kB / 1.515 GB, free: 14.87 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5938, allocations: 0.8566 MB / 1.516 GB, free: 14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5938, allocations: 33.64 kB / 1.516 GB, free: 13.96 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.5942, allocations: 403.7 kB / 1.516 GB, free: 13.57 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.5942, allocations: 47.67 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.5944, allocations: 89.97 kB / 1.516 GB, free: 13.43 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5945, allocations: 321.9 kB / 1.517 GB, free: 13.11 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.5948, allocations: 112.7 kB / 1.517 GB, free: 13 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.5954, allocations: 0.5084 MB / 1.517 GB, free: 12.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.596, allocations: 437.5 kB / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.596, allocations: 4 kB / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00102/0.5971, allocations: 0.4965 MB / 1.518 GB, free: 11.29 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5971, allocations: 16.77 kB / 1.518 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.5971, allocations: 8 kB / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.5971, allocations: 12 kB / 1.518 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.5975, allocations: 95.83 kB / 1.518 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.5975, allocations: 15.94 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.5981, allocations: 123.2 kB / 1.518 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.5982, allocations: 24.12 kB / 1.518 GB, free: 11 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002915/0.5985, allocations: 225.6 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5987, allocations: 79.53 kB / 1.519 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.5988, allocations: 74.27 kB / 1.519 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5988, allocations: 0 / 1.519 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5988, allocations: 4 kB / 1.519 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.5988, allocations: 7.922 kB / 1.519 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.6003, allocations: 1.038 MB / 1.52 GB, free: 9.484 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6003, allocations: 4 kB / 1.52 GB, free: 9.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.6004, allocations: 19.94 kB / 1.52 GB, free: 9.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6004, allocations: 0 / 1.52 GB, free: 9.461 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6004, allocations: 4 kB / 1.52 GB, free: 9.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.6004, allocations: 4.312 kB / 1.52 GB, free: 9.453 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6004, allocations: 8 kB / 1.52 GB, free: 9.445 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.6007, allocations: 276 kB / 1.52 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.601, allocations: 99.94 kB / 1.52 GB, free: 9.031 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.601, allocations: 4 kB / 1.52 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.6014, allocations: 19.98 kB / 1.52 GB, free: 9.008 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.6014, allocations: 11.92 kB / 1.52 GB, free: 8.996 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6014, allocations: 4 kB / 1.52 GB, free: 8.992 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008618/0.6023, allocations: 0.5888 MB / 1.521 GB, free: 8.406 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6023, allocations: 0 / 1.521 GB, free: 8.406 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005518/0.6028, allocations: 159.8 kB / 1.521 GB, free: 8.25 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0009601/0.6038, allocations: 0.8818 MB / 1.522 GB, free: 7.32 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.6043, allocations: 237.3 kB / 1.522 GB, free: 7.09 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.6043, allocations: 4 kB / 1.522 GB, free: 7.086 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.6044, allocations: 43.91 kB / 1.522 GB, free: 7.043 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6059, allocations: 376.1 kB / 1.522 GB, free: 6.688 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.6134, allocations: 5.478 MB / 1.528 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6137, allocations: 340.6 kB / 1.528 GB, free: 0.5 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004761/0.6142, allocations: 150.1 kB / 1.528 GB, free: 360 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6145, allocations: 239.2 kB / 1.528 GB, free: 120 kB / 1.217 GB Notification: Performance of SimCode: time 5.51e-07/0.6145, allocations: 4 kB / 1.528 GB, free: 116 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.6687, allocations: 20.07 MB / 1.548 GB, free: 12.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.38, allocations: 11.19 kB / 1.548 GB, free: 12.53 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable const.k in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.71370112383738]