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.001838/0.001838, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002575/0.002575, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.984 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.786/2.786, allocations: 476.8 MB / 0.7707 GB, free: 4.367 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.001984/0.001984, allocations: 68.33 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3577, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2292/0.5869, allocations: 191 MB / 1.47 GB, free: 11.94 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.6048, allocations: 13.2 MB / 1.483 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.6065, allocations: 39.69 kB / 1.483 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.6082, allocations: 421.2 kB / 1.483 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.611, allocations: 0.9761 MB / 1.484 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.6135, allocations: 0.7443 MB / 1.485 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.6159, allocations: 1.532 MB / 1.486 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.6167, allocations: 0.5029 MB / 1.487 GB, free: 10.47 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.6219, allocations: 1.806 MB / 1.489 GB, free: 8.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.6237, allocations: 0.5417 MB / 1.489 GB, free: 8.121 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.6238, allocations: 56 kB / 1.489 GB, free: 8.066 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.626, allocations: 0.9237 MB / 1.49 GB, free: 7.141 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/0.6263, allocations: 291.1 kB / 1.49 GB, free: 6.855 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.6269, allocations: 382 kB / 1.491 GB, free: 6.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.6288, allocations: 1.179 MB / 1.492 GB, free: 5.297 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6288, allocations: 7.938 kB / 1.492 GB, free: 5.289 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6288, allocations: 0 / 1.492 GB, free: 5.289 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6288, allocations: 0 / 1.492 GB, free: 5.289 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.001541/0.6303, allocations: 0.9944 MB / 1.493 GB, free: 4.258 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6304, allocations: 12.03 kB / 1.493 GB, free: 4.246 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6305, allocations: 106.5 kB / 1.493 GB, free: 4.133 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/0.6314, allocations: 195.3 kB / 1.493 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.6323, allocations: 0.4919 MB / 1.494 GB, free: 3.426 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.6324, allocations: 45.31 kB / 1.494 GB, free: 3.379 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.6324, allocations: 56 kB / 1.494 GB, free: 3.324 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6336, allocations: 0.7789 MB / 1.495 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.6336, allocations: 3.938 kB / 1.495 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/0.6337, allocations: 31.94 kB / 1.495 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.6337, allocations: 21 kB / 1.495 GB, free: 2.379 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.6346, allocations: 463.3 kB / 1.495 GB, free: 1.926 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.0041/0.6387, allocations: 4.332 MB / 1.499 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.6389, allocations: 106.4 kB / 1.499 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.639, allocations: 71.5 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.6391, allocations: 19.98 kB / 1.5 GB, free: 13.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6392, allocations: 38.5 kB / 1.5 GB, free: 13.09 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6392, allocations: 0 / 1.5 GB, free: 13.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0006827/0.6398, allocations: 245 kB / 1.5 GB, free: 12.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.6399, allocations: 136.5 kB / 1.5 GB, free: 12.68 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.6411, allocations: 0.8489 MB / 1.501 GB, free: 11.82 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.6411, allocations: 25.7 kB / 1.501 GB, free: 11.79 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.6414, allocations: 411.7 kB / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.6415, allocations: 39.67 kB / 1.501 GB, free: 11.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6416, allocations: 93.97 kB / 1.501 GB, free: 11.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6417, allocations: 321.9 kB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.642, allocations: 116.7 kB / 1.502 GB, free: 10.81 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.6425, allocations: 365.5 kB / 1.502 GB, free: 10.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.6431, allocations: 445.9 kB / 1.502 GB, free: 9.797 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6431, allocations: 4 kB / 1.502 GB, free: 9.793 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009527/0.644, allocations: 0.497 MB / 1.503 GB, free: 9.289 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6441, allocations: 8 kB / 1.503 GB, free: 9.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6441, allocations: 8 kB / 1.503 GB, free: 9.273 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.6441, allocations: 8 kB / 1.503 GB, free: 9.266 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.6444, allocations: 99.75 kB / 1.503 GB, free: 9.168 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.6444, allocations: 15.94 kB / 1.503 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.6451, allocations: 119.5 kB / 1.503 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.6451, allocations: 27.98 kB / 1.503 GB, free: 9.008 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.0002883/0.6454, allocations: 226.1 kB / 1.503 GB, free: 8.777 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.6456, allocations: 83.48 kB / 1.504 GB, free: 8.695 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.6457, allocations: 74.27 kB / 1.504 GB, free: 8.621 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6457, allocations: 0 / 1.504 GB, free: 8.621 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6457, allocations: 4 kB / 1.504 GB, free: 8.617 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6457, allocations: 3.938 kB / 1.504 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.6471, allocations: 1.084 MB / 1.505 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6471, allocations: 8.062 kB / 1.505 GB, free: 7.438 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.6472, allocations: 23.92 kB / 1.505 GB, free: 7.414 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6472, allocations: 4.312 kB / 1.505 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6472, allocations: 8 kB / 1.505 GB, free: 7.402 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.6472, allocations: 4 kB / 1.505 GB, free: 7.398 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6472, allocations: 4 kB / 1.505 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6476, allocations: 264.2 kB / 1.505 GB, free: 7.09 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.6478, allocations: 103.4 kB / 1.505 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.6479, allocations: 8 kB / 1.505 GB, free: 6.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.6482, allocations: 23.97 kB / 1.505 GB, free: 6.957 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.6482, allocations: 11.92 kB / 1.505 GB, free: 6.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6482, allocations: 8 kB / 1.505 GB, free: 6.938 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008344/0.6491, allocations: 0.5888 MB / 1.506 GB, free: 6.352 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6491, allocations: 0 / 1.506 GB, free: 6.352 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005683/0.6496, allocations: 151.8 kB / 1.506 GB, free: 6.203 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.0009459/0.6506, allocations: 0.8712 MB / 1.507 GB, free: 5.285 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.6511, allocations: 241.3 kB / 1.507 GB, free: 5.051 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6511, allocations: 4.25 kB / 1.507 GB, free: 5.047 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.6512, allocations: 43.92 kB / 1.507 GB, free: 5.004 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.6527, allocations: 383.2 kB / 1.507 GB, free: 4.641 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00755/0.6603, allocations: 5.47 MB / 1.513 GB, free: 14.81 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.6608, allocations: 0.937 MB / 1.514 GB, free: 13.85 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005116/0.6613, allocations: 154.1 kB / 1.514 GB, free: 13.7 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6616, allocations: 235.4 kB / 1.514 GB, free: 13.46 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/0.6616, allocations: 0 / 1.514 GB, free: 13.46 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.7161, allocations: 18.41 MB / 1.532 GB, free: 11.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.76, allocations: 2.5 kB / 1.532 GB, free: 11.41 MB / 1.232 GB " [Timeout remaining time 287] (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: 19.737839547000476]