Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001321/0.001321, allocations: 104.1 kB / 16.45 MB, free: 6.449 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.001427/0.001427, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_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.002059/0.002059, allocations: 71.89 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8588, allocations: 169.9 MB / 1.278 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2389/1.098, allocations: 190.7 MB / 1.465 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01901/1.117, allocations: 13.1 MB / 1.477 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/1.118, allocations: 43.62 kB / 1.477 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/1.12, allocations: 421.3 kB / 1.478 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/1.122, allocations: 0.9683 MB / 1.479 GB, free: 15.56 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/1.125, allocations: 0.7155 MB / 1.479 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002382/1.127, allocations: 1.504 MB / 1.481 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009819/1.128, allocations: 0.5453 MB / 1.481 GB, free: 12.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/1.132, allocations: 1.79 MB / 1.483 GB, free: 10.98 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/1.134, allocations: 0.5254 MB / 1.484 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/1.134, allocations: 56 kB / 1.484 GB, free: 10.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/1.136, allocations: 0.912 MB / 1.485 GB, free: 9.488 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/1.136, allocations: 283.1 kB / 1.485 GB, free: 9.211 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/1.137, allocations: 394 kB / 1.485 GB, free: 8.824 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/1.139, allocations: 1.171 MB / 1.486 GB, free: 7.648 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.139, allocations: 0 / 1.486 GB, free: 7.648 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.393e-06/1.139, allocations: 0 / 1.486 GB, free: 7.648 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.073e-05/1.139, allocations: 0 / 1.486 GB, free: 7.648 MB / 1.186 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.001861/1.141, allocations: 1.089 MB / 1.487 GB, free: 6.504 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.141, allocations: 8.031 kB / 1.487 GB, free: 6.496 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/1.141, allocations: 98.52 kB / 1.488 GB, free: 6.391 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.142, allocations: 195.3 kB / 1.488 GB, free: 6.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.144, allocations: 0.5602 MB / 1.488 GB, free: 5.598 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/1.144, allocations: 45.31 kB / 1.488 GB, free: 5.555 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/1.144, allocations: 59.94 kB / 1.488 GB, free: 5.496 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/1.145, allocations: 0.7711 MB / 1.489 GB, free: 4.613 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/1.145, allocations: 3.938 kB / 1.489 GB, free: 4.609 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.914e-05/1.145, allocations: 31.94 kB / 1.489 GB, free: 4.578 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-05/1.145, allocations: 24.98 kB / 1.489 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/1.146, allocations: 455.3 kB / 1.49 GB, free: 4.109 MB / 1.186 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.004629/1.151, allocations: 4.399 MB / 1.494 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/1.151, allocations: 98.36 kB / 1.494 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/1.151, allocations: 75.58 kB / 1.494 GB, free: 15.26 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/1.151, allocations: 97.05 kB / 1.494 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.151, allocations: 42.55 kB / 1.494 GB, free: 15.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/1.151, allocations: 0 / 1.494 GB, free: 15.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007973/1.152, allocations: 249.5 kB / 1.494 GB, free: 14.85 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.152, allocations: 132.5 kB / 1.495 GB, free: 14.69 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.154, allocations: 0.837 MB / 1.495 GB, free: 13.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.154, allocations: 29.7 kB / 1.495 GB, free: 13.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004249/1.154, allocations: 411.6 kB / 1.496 GB, free: 13.4 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/1.154, allocations: 43.75 kB / 1.496 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/1.154, allocations: 85.98 kB / 1.496 GB, free: 13.27 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.154, allocations: 329.9 kB / 1.496 GB, free: 12.94 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.155, allocations: 104.7 kB / 1.496 GB, free: 12.84 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/1.155, allocations: 377.7 kB / 1.497 GB, free: 12.36 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/1.156, allocations: 433.5 kB / 1.497 GB, free: 11.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/1.156, allocations: 8.062 kB / 1.497 GB, free: 11.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00106/1.157, allocations: 0.4933 MB / 1.498 GB, free: 11.32 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.157, allocations: 16.12 kB / 1.498 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.157, allocations: 8 kB / 1.498 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.157, allocations: 8 kB / 1.498 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.158, allocations: 95.83 kB / 1.498 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/1.158, allocations: 15.98 kB / 1.498 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/1.158, allocations: 123.2 kB / 1.498 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/1.158, allocations: 20 kB / 1.498 GB, free: 11.04 MB / 1.201 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.0003285/1.159, allocations: 237.6 kB / 1.498 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.159, allocations: 79.48 kB / 1.498 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/1.159, allocations: 70.17 kB / 1.498 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.159, allocations: 0 / 1.498 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.159, allocations: 7.938 kB / 1.498 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.159, allocations: 7.938 kB / 1.498 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/1.161, allocations: 1.12 MB / 1.499 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.161, allocations: 4 kB / 1.499 GB, free: 9.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/1.161, allocations: 23.92 kB / 1.499 GB, free: 9.387 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.161, allocations: 3.938 kB / 1.499 GB, free: 9.383 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.161, allocations: 4 kB / 1.499 GB, free: 9.379 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.161, allocations: 7.938 kB / 1.499 GB, free: 9.371 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.161, allocations: 4.312 kB / 1.499 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/1.161, allocations: 268.2 kB / 1.5 GB, free: 9.059 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/1.161, allocations: 172.6 kB / 1.5 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.162, allocations: 4 kB / 1.5 GB, free: 8.867 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/1.162, allocations: 15.98 kB / 1.5 GB, free: 8.852 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/1.162, allocations: 23.86 kB / 1.5 GB, free: 8.828 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/1.162, allocations: 4 kB / 1.5 GB, free: 8.824 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009224/1.163, allocations: 0.5849 MB / 1.5 GB, free: 8.242 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.163, allocations: 0 / 1.5 GB, free: 8.242 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006571/1.163, allocations: 159.8 kB / 1.501 GB, free: 8.086 MB / 1.201 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.001088/1.165, allocations: 0.886 MB / 1.501 GB, free: 7.156 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005915/1.165, allocations: 232.9 kB / 1.502 GB, free: 6.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.165, allocations: 192 / 1.502 GB, free: 6.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/1.165, allocations: 52.66 kB / 1.502 GB, free: 6.879 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.167, allocations: 380.1 kB / 1.502 GB, free: 6.516 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/1.176, allocations: 5.469 MB / 1.507 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/1.177, allocations: 0.937 MB / 1.508 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005641/1.177, allocations: 146.1 kB / 1.509 GB, free: 15.58 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.178, allocations: 235.3 kB / 1.509 GB, free: 15.35 MB / 1.217 GB Notification: Performance of SimCode: time 1.533e-06/1.178, allocations: 0 / 1.509 GB, free: 15.35 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/1.233, allocations: 18.09 MB / 1.526 GB, free: 13.64 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.584/10.82, allocations: 10.62 kB / 1.526 GB, free: 13.64 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.205462962854654]