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.001627/0.001627, allocations: 110.6 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.001512/0.001512, allocations: 220.3 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.98 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.961/2.961, allocations: 476.8 MB / 0.7707 GB, free: 4.258 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.002122/0.002122, allocations: 70.06 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 169.9 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2327/0.5448, allocations: 191 MB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.5629, allocations: 13.21 MB / 1.483 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5641, allocations: 43.62 kB / 1.483 GB, free: 14.67 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.5655, allocations: 429.3 kB / 1.483 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.5681, allocations: 0.976 MB / 1.484 GB, free: 13.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.5705, allocations: 0.7408 MB / 1.485 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.5732, allocations: 1.539 MB / 1.486 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009584/0.5742, allocations: 499.1 kB / 1.487 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004257/0.5784, allocations: 1.814 MB / 1.489 GB, free: 8.664 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.5799, allocations: 0.5383 MB / 1.489 GB, free: 8.129 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.58, allocations: 52 kB / 1.489 GB, free: 8.078 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.5818, allocations: 0.9198 MB / 1.49 GB, free: 7.156 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.5821, allocations: 295.1 kB / 1.49 GB, free: 6.867 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.5826, allocations: 386 kB / 1.491 GB, free: 6.488 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.5846, allocations: 1.175 MB / 1.492 GB, free: 5.309 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5846, allocations: 0 / 1.492 GB, free: 5.309 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5846, allocations: 0 / 1.492 GB, free: 5.309 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.5846, allocations: 4 kB / 1.492 GB, free: 5.305 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.001652/0.5863, allocations: 1.002 MB / 1.493 GB, free: 4.266 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5863, allocations: 8.031 kB / 1.493 GB, free: 4.258 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.5864, allocations: 98.52 kB / 1.493 GB, free: 4.152 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.5874, allocations: 199.3 kB / 1.493 GB, free: 3.957 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.5884, allocations: 0.4919 MB / 1.494 GB, free: 3.441 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.5885, allocations: 45.3 kB / 1.494 GB, free: 3.395 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.5886, allocations: 64 kB / 1.494 GB, free: 3.332 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5898, allocations: 0.7711 MB / 1.495 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5898, allocations: 7.938 kB / 1.495 GB, free: 2.441 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.5899, allocations: 27.94 kB / 1.495 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.5899, allocations: 21 kB / 1.495 GB, free: 2.395 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.5909, allocations: 467.3 kB / 1.495 GB, free: 1.934 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.004534/0.5954, allocations: 4.332 MB / 1.499 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.5956, allocations: 94.36 kB / 1.499 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.5957, allocations: 83.5 kB / 1.499 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.5958, allocations: 19.98 kB / 1.5 GB, free: 13.14 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5959, allocations: 30.56 kB / 1.5 GB, free: 13.1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 2.385e-06/0.5959, allocations: 3.938 kB / 1.5 GB, free: 13.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007596/0.5966, allocations: 253.2 kB / 1.5 GB, free: 12.84 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.5967, allocations: 128.5 kB / 1.5 GB, free: 12.69 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.5979, allocations: 0.8408 MB / 1.501 GB, free: 11.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.598, allocations: 33.77 kB / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.5983, allocations: 411.6 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.5984, allocations: 51.66 kB / 1.501 GB, free: 11.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5985, allocations: 85.98 kB / 1.501 GB, free: 11.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5986, allocations: 329.9 kB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.5989, allocations: 108.7 kB / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.5994, allocations: 369.5 kB / 1.502 GB, free: 10.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.6, allocations: 441.5 kB / 1.502 GB, free: 9.805 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6, allocations: 0 / 1.502 GB, free: 9.805 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001003/0.601, allocations: 0.5011 MB / 1.503 GB, free: 9.297 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6011, allocations: 8 kB / 1.503 GB, free: 9.289 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6011, allocations: 8 kB / 1.503 GB, free: 9.281 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.6011, allocations: 15.94 kB / 1.503 GB, free: 9.266 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.6015, allocations: 99.81 kB / 1.503 GB, free: 9.168 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.6015, allocations: 8 kB / 1.503 GB, free: 9.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.6021, allocations: 123.3 kB / 1.503 GB, free: 9.039 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.6022, allocations: 27.98 kB / 1.503 GB, free: 9.012 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.0002873/0.6024, allocations: 222.2 kB / 1.503 GB, free: 8.785 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.6026, allocations: 83.42 kB / 1.504 GB, free: 8.703 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.6027, allocations: 74.27 kB / 1.504 GB, free: 8.629 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6027, allocations: 4 kB / 1.504 GB, free: 8.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6027, allocations: 0 / 1.504 GB, free: 8.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.6027, allocations: 3.938 kB / 1.504 GB, free: 8.621 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.6042, allocations: 1.088 MB / 1.505 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6042, allocations: 8.594 kB / 1.505 GB, free: 7.441 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.6043, allocations: 15.98 kB / 1.505 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.6043, allocations: 4 kB / 1.505 GB, free: 7.422 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6043, allocations: 4 kB / 1.505 GB, free: 7.418 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.6043, allocations: 8.25 kB / 1.505 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6043, allocations: 4 kB / 1.505 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.6047, allocations: 264.2 kB / 1.505 GB, free: 7.102 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.6049, allocations: 107.5 kB / 1.505 GB, free: 6.996 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.605, allocations: 7.938 kB / 1.505 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.6053, allocations: 11.98 kB / 1.505 GB, free: 6.977 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.6053, allocations: 23.86 kB / 1.505 GB, free: 6.953 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6054, allocations: 8 kB / 1.505 GB, free: 6.945 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008597/0.6062, allocations: 0.5849 MB / 1.506 GB, free: 6.363 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6062, allocations: 4 kB / 1.506 GB, free: 6.359 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005924/0.6068, allocations: 155.8 kB / 1.506 GB, free: 6.207 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.0009725/0.6078, allocations: 0.8696 MB / 1.507 GB, free: 5.293 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005659/0.6083, allocations: 237.4 kB / 1.507 GB, free: 5.062 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6083, allocations: 4 kB / 1.507 GB, free: 5.059 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.6084, allocations: 52.23 kB / 1.507 GB, free: 5.008 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.61, allocations: 374.2 kB / 1.507 GB, free: 4.648 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/0.6179, allocations: 5.47 MB / 1.513 GB, free: 14.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.6185, allocations: 0.9331 MB / 1.514 GB, free: 13.86 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005357/0.6191, allocations: 158.1 kB / 1.514 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.6194, allocations: 231.4 kB / 1.514 GB, free: 13.48 MB / 1.217 GB Notification: Performance of SimCode: time 9.92e-07/0.6194, allocations: 0 / 1.514 GB, free: 13.48 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.6768, allocations: 18.41 MB / 1.532 GB, free: 11.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.41, allocations: 0 / 1.532 GB, free: 11.43 MB / 1.232 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.34323331597261]