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.00141/0.00141, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001632/0.001632, allocations: 213.8 kB / 22.25 MB, free: 5.086 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.326/1.326, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.943/2.943, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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.001891/0.001891, allocations: 66.78 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2876, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1848/0.4724, allocations: 174.8 MB / 1.524 GB, free: 9.051 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006261/0.4787, allocations: 4.342 MB / 1.528 GB, free: 4.699 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006165/0.4793, allocations: 31.75 kB / 1.528 GB, free: 4.668 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.4803, allocations: 365.9 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.4832, allocations: 1.298 MB / 1.529 GB, free: 3.008 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.4851, allocations: 0.8223 MB / 1.53 GB, free: 2.188 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.4872, allocations: 1.726 MB / 1.532 GB, free: 468 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.4879, allocations: 452.2 kB / 1.532 GB, free: 12 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.4893, allocations: 0.7901 MB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4906, allocations: 0.5778 MB / 1.534 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.4908, allocations: 68 kB / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.4923, allocations: 0.8574 MB / 1.535 GB, free: 13.71 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.4926, allocations: 279.2 kB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.493, allocations: 406.3 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.4947, allocations: 1.269 MB / 1.536 GB, free: 11.77 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4947, allocations: 0 / 1.536 GB, free: 11.77 MB / 1.232 GB Notification: Performance of FrontEnd: time 3.165e-06/0.4947, allocations: 4 kB / 1.536 GB, free: 11.77 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.4947, allocations: 0 / 1.536 GB, free: 11.77 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.001749/0.4965, allocations: 0.9757 MB / 1.537 GB, free: 10.75 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4965, allocations: 12.03 kB / 1.537 GB, free: 10.74 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.4967, allocations: 98.52 kB / 1.538 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.4976, allocations: 167.4 kB / 1.538 GB, free: 10.47 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.4984, allocations: 490.7 kB / 1.538 GB, free: 9.973 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4985, allocations: 37.31 kB / 1.538 GB, free: 9.938 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.4985, allocations: 52 kB / 1.538 GB, free: 9.887 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.4996, allocations: 0.6557 MB / 1.539 GB, free: 9.215 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4996, allocations: 7.922 kB / 1.539 GB, free: 9.207 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.4997, allocations: 24 kB / 1.539 GB, free: 9.184 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.4997, allocations: 25.31 kB / 1.539 GB, free: 9.156 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.5006, allocations: 0.5126 MB / 1.539 GB, free: 8.641 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.003313/0.5039, allocations: 2.25 MB / 1.542 GB, free: 6.227 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.5044, allocations: 250.8 kB / 1.542 GB, free: 5.973 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.5047, allocations: 133.9 kB / 1.542 GB, free: 5.844 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.5047, allocations: 3.984 kB / 1.542 GB, free: 5.84 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5047, allocations: 38.56 kB / 1.542 GB, free: 5.793 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.5047, allocations: 4 kB / 1.542 GB, free: 5.789 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001504/0.5062, allocations: 0.5185 MB / 1.543 GB, free: 5.258 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.5063, allocations: 81.11 kB / 1.543 GB, free: 5.16 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.5069, allocations: 0.5575 MB / 1.543 GB, free: 4.594 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.507, allocations: 33.7 kB / 1.543 GB, free: 4.555 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.5072, allocations: 335.7 kB / 1.544 GB, free: 4.223 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.5073, allocations: 87.3 kB / 1.544 GB, free: 4.137 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.5074, allocations: 65.98 kB / 1.544 GB, free: 4.066 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5075, allocations: 366.7 kB / 1.544 GB, free: 3.699 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.5078, allocations: 132.6 kB / 1.544 GB, free: 3.57 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.5081, allocations: 222.6 kB / 1.544 GB, free: 3.32 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.5086, allocations: 328.4 kB / 1.545 GB, free: 2.969 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5086, allocations: 4 kB / 1.545 GB, free: 2.965 MB / 1.232 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008777/0.5095, allocations: 495.4 kB / 1.545 GB, free: 2.469 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5095, allocations: 17.81 kB / 1.545 GB, free: 2.453 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5095, allocations: 3.984 kB / 1.545 GB, free: 2.449 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.5098, allocations: 93.66 kB / 1.545 GB, free: 2.352 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.5101, allocations: 63.91 kB / 1.545 GB, free: 2.289 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.5131, allocations: 3.141 MB / 1.548 GB, free: 14.92 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.5135, allocations: 55.59 kB / 1.548 GB, free: 14.87 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.5136, allocations: 12 kB / 1.548 GB, free: 14.86 MB / 1.248 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.0002767/0.5138, allocations: 214.4 kB / 1.549 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.5139, allocations: 55.67 kB / 1.549 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.793e-05/0.514, allocations: 60.44 kB / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.514, allocations: 0 / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.514, allocations: 7.938 kB / 1.549 GB, free: 14.51 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007185/0.5148, allocations: 0.5244 MB / 1.549 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.516, allocations: 0.8939 MB / 1.55 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.516, allocations: 0 / 1.55 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.5162, allocations: 43.91 kB / 1.55 GB, free: 12.92 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.5164, allocations: 64.81 kB / 1.55 GB, free: 12.85 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5164, allocations: 4 kB / 1.55 GB, free: 12.85 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.5181, allocations: 1.717 MB / 1.552 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5181, allocations: 8.094 kB / 1.552 GB, free: 11.01 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.5187, allocations: 433.5 kB / 1.552 GB, free: 10.56 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.5189, allocations: 95.56 kB / 1.552 GB, free: 10.47 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.519, allocations: 7.922 kB / 1.552 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.5194, allocations: 25.3 kB / 1.552 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.5194, allocations: 19.97 kB / 1.552 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.5195, allocations: 15.98 kB / 1.553 GB, free: 10.4 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004481/0.5199, allocations: 398.8 kB / 1.553 GB, free: 10.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5199, allocations: 0 / 1.553 GB, free: 10.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005859/0.5205, allocations: 207.7 kB / 1.553 GB, free: 9.812 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.001029/0.5215, allocations: 1.031 MB / 1.554 GB, free: 8.746 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008504/0.5224, allocations: 0.5282 MB / 1.555 GB, free: 8.191 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5224, allocations: 0 / 1.555 GB, free: 8.191 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.5227, allocations: 242.5 kB / 1.555 GB, free: 7.941 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.5242, allocations: 376 kB / 1.555 GB, free: 7.582 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.5301, allocations: 4.473 MB / 1.56 GB, free: 2.945 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.5306, allocations: 0.9053 MB / 1.56 GB, free: 2.012 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.5309, allocations: 112.8 kB / 1.561 GB, free: 1.898 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.5312, allocations: 191.4 kB / 1.561 GB, free: 1.711 MB / 1.248 GB Notification: Performance of SimCode: time 4.81e-07/0.5312, allocations: 0 / 1.561 GB, free: 1.711 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.5847, allocations: 18.15 MB / 1.578 GB, free: 15.86 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.49, allocations: 2.438 kB / 1.578 GB, free: 15.86 MB / 1.279 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: 18.551000350000322]