Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001247/0.001247, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001309/0.001309, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.37/1.37, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.134/3.134, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.002025/0.002025, allocations: 83.88 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3798, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.219/0.5988, allocations: 174.6 MB / 1.518 GB, free: 10.8 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00748/0.6063, allocations: 4.313 MB / 1.522 GB, free: 6.473 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.607, allocations: 31.75 kB / 1.522 GB, free: 6.441 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.6081, allocations: 373.9 kB / 1.523 GB, free: 6.074 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.6113, allocations: 1.268 MB / 1.524 GB, free: 4.801 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6135, allocations: 0.7951 MB / 1.525 GB, free: 4.008 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.6159, allocations: 1.706 MB / 1.526 GB, free: 2.297 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.6166, allocations: 495.5 kB / 1.527 GB, free: 1.812 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.618, allocations: 0.7785 MB / 1.528 GB, free: 1.031 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.6193, allocations: 0.5804 MB / 1.528 GB, free: 464 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6194, allocations: 71.98 kB / 1.528 GB, free: 392 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.6211, allocations: 0.8379 MB / 1.529 GB, free: 15.54 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.6214, allocations: 279.2 kB / 1.529 GB, free: 15.27 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.6219, allocations: 410.2 kB / 1.53 GB, free: 14.87 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.6237, allocations: 1.273 MB / 1.531 GB, free: 13.59 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6237, allocations: 0 / 1.531 GB, free: 13.59 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6237, allocations: 0 / 1.531 GB, free: 13.59 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6237, allocations: 0 / 1.531 GB, free: 13.59 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001983/0.6257, allocations: 1.049 MB / 1.532 GB, free: 12.49 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.6257, allocations: 15.98 kB / 1.532 GB, free: 12.47 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.6258, allocations: 94.52 kB / 1.532 GB, free: 12.37 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6269, allocations: 167.4 kB / 1.532 GB, free: 12.21 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.6278, allocations: 0.5525 MB / 1.533 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.6278, allocations: 49.3 kB / 1.533 GB, free: 11.57 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.6279, allocations: 48 kB / 1.533 GB, free: 11.52 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.6291, allocations: 0.6479 MB / 1.534 GB, free: 10.86 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6291, allocations: 0 / 1.534 GB, free: 10.86 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.6291, allocations: 31.98 kB / 1.534 GB, free: 10.83 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.6292, allocations: 25.3 kB / 1.534 GB, free: 10.8 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6302, allocations: 0.5087 MB / 1.534 GB, free: 10.29 MB / 1.232 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.003569/0.6338, allocations: 2.298 MB / 1.536 GB, free: 7.824 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.6343, allocations: 246.8 kB / 1.537 GB, free: 7.574 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.6346, allocations: 132.7 kB / 1.537 GB, free: 7.441 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.6346, allocations: 4 kB / 1.537 GB, free: 7.438 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6346, allocations: 34.56 kB / 1.537 GB, free: 7.395 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.6347, allocations: 4 kB / 1.537 GB, free: 7.391 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001792/0.6364, allocations: 0.6628 MB / 1.537 GB, free: 6.68 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.6365, allocations: 85.11 kB / 1.538 GB, free: 6.578 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.6372, allocations: 0.5613 MB / 1.538 GB, free: 6.008 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.6373, allocations: 33.7 kB / 1.538 GB, free: 5.969 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.6375, allocations: 335.8 kB / 1.538 GB, free: 5.637 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.6376, allocations: 79.31 kB / 1.539 GB, free: 5.559 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.6378, allocations: 69.97 kB / 1.539 GB, free: 5.484 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.638, allocations: 362.7 kB / 1.539 GB, free: 5.121 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.6383, allocations: 132.5 kB / 1.539 GB, free: 4.992 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.6387, allocations: 222.5 kB / 1.539 GB, free: 4.742 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.6393, allocations: 336.3 kB / 1.54 GB, free: 4.383 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6393, allocations: 4 kB / 1.54 GB, free: 4.379 MB / 1.232 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001033/0.6403, allocations: 494.9 kB / 1.54 GB, free: 3.883 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6403, allocations: 12 kB / 1.54 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6403, allocations: 0 / 1.54 GB, free: 3.871 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.6407, allocations: 93.59 kB / 1.54 GB, free: 3.773 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.641, allocations: 71.89 kB / 1.54 GB, free: 3.703 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.6447, allocations: 3.351 MB / 1.544 GB, free: 72 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.6452, allocations: 51.61 kB / 1.544 GB, free: 20 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.6452, allocations: 12 kB / 1.544 GB, free: 8 kB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003646/0.6456, allocations: 217.7 kB / 1.544 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6457, allocations: 55.67 kB / 1.544 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.6458, allocations: 56.5 kB / 1.544 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6458, allocations: 4 kB / 1.544 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6458, allocations: 7.938 kB / 1.544 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008138/0.6467, allocations: 0.5306 MB / 1.544 GB, free: 15.06 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.6482, allocations: 0.9106 MB / 1.545 GB, free: 14.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6482, allocations: 4 kB / 1.545 GB, free: 14.08 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.6484, allocations: 43.97 kB / 1.545 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.6486, allocations: 68.73 kB / 1.545 GB, free: 13.97 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.6487, allocations: 8 kB / 1.545 GB, free: 13.96 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.6507, allocations: 1.821 MB / 1.547 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6507, allocations: 4.062 kB / 1.547 GB, free: 11.99 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.6514, allocations: 432.2 kB / 1.548 GB, free: 11.55 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.6516, allocations: 164.7 kB / 1.548 GB, free: 11.37 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.6517, allocations: 7.938 kB / 1.548 GB, free: 11.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.6522, allocations: 28.17 kB / 1.548 GB, free: 11.33 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.6522, allocations: 23.91 kB / 1.548 GB, free: 11.31 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.6523, allocations: 11.98 kB / 1.548 GB, free: 11.3 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005297/0.6528, allocations: 398.8 kB / 1.548 GB, free: 10.91 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6528, allocations: 3.938 kB / 1.548 GB, free: 10.91 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007429/0.6536, allocations: 207.7 kB / 1.548 GB, free: 10.7 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.6549, allocations: 1.025 MB / 1.549 GB, free: 9.645 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.6559, allocations: 0.5166 MB / 1.55 GB, free: 9.102 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6559, allocations: 4 kB / 1.55 GB, free: 9.098 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.6563, allocations: 238.5 kB / 1.55 GB, free: 8.852 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.658, allocations: 377.5 kB / 1.551 GB, free: 8.496 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.6651, allocations: 4.467 MB / 1.555 GB, free: 3.863 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.6657, allocations: 0.9054 MB / 1.556 GB, free: 2.93 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004351/0.6661, allocations: 116.8 kB / 1.556 GB, free: 2.812 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.6664, allocations: 187.4 kB / 1.556 GB, free: 2.629 MB / 1.248 GB Notification: Performance of SimCode: time 8.32e-07/0.6664, allocations: 0 / 1.556 GB, free: 2.629 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.7212, allocations: 17.89 MB / 1.574 GB, free: 1.086 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.67, allocations: 17.86 kB / 1.574 GB, free: 1.07 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.265026121865958]