Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001596/0.001596, allocations: 103 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.001653/0.001653, allocations: 212.9 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.404/1.404, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.026/3.026, allocations: 0.49 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_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.001921/0.001921, allocations: 73.02 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3133, allocations: 176.1 MB / 1.321 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1989/0.5122, allocations: 174.6 MB / 1.491 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007239/0.5195, allocations: 4.309 MB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.5202, allocations: 31.75 kB / 1.496 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.5214, allocations: 365.9 kB / 1.496 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.5245, allocations: 1.272 MB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.5266, allocations: 0.7968 MB / 1.498 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.529, allocations: 1.703 MB / 1.5 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.5298, allocations: 495.5 kB / 1.5 GB, free: 11.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.5314, allocations: 0.7785 MB / 1.501 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.5328, allocations: 0.5861 MB / 1.501 GB, free: 9.863 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.5329, allocations: 67.94 kB / 1.501 GB, free: 9.797 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5347, allocations: 0.8418 MB / 1.502 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.535, allocations: 271.2 kB / 1.502 GB, free: 8.688 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006489/0.5357, allocations: 410.3 kB / 1.503 GB, free: 8.285 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.5379, allocations: 1.277 MB / 1.504 GB, free: 7.004 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5379, allocations: 4 kB / 1.504 GB, free: 7 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5379, allocations: 0 / 1.504 GB, free: 7 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.538, allocations: 0 / 1.504 GB, free: 7 MB / 1.201 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.002163/0.5401, allocations: 1.047 MB / 1.505 GB, free: 5.898 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5402, allocations: 19.98 kB / 1.505 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.5403, allocations: 98.5 kB / 1.505 GB, free: 5.773 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.5414, allocations: 163.4 kB / 1.505 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.5424, allocations: 0.5564 MB / 1.506 GB, free: 5.02 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.5424, allocations: 37.31 kB / 1.506 GB, free: 4.984 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.5425, allocations: 52 kB / 1.506 GB, free: 4.934 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5437, allocations: 0.6479 MB / 1.507 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5437, allocations: 0 / 1.507 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.5437, allocations: 24 kB / 1.507 GB, free: 4.246 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.5438, allocations: 25.3 kB / 1.507 GB, free: 4.219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.5448, allocations: 0.5164 MB / 1.507 GB, free: 3.699 MB / 1.201 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.00378/0.5486, allocations: 2.298 MB / 1.509 GB, free: 1.23 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.5491, allocations: 238.8 kB / 1.51 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.5494, allocations: 129.1 kB / 1.51 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.5494, allocations: 3.953 kB / 1.51 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5495, allocations: 42.56 kB / 1.51 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 3.307e-06/0.5495, allocations: 0 / 1.51 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001937/0.5514, allocations: 0.67 MB / 1.511 GB, free: 88 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5515, allocations: 85.09 kB / 1.511 GB, free: 15.98 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/0.5524, allocations: 0.5535 MB / 1.511 GB, free: 15.42 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.5524, allocations: 33.7 kB / 1.511 GB, free: 15.38 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.5527, allocations: 335.8 kB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5528, allocations: 75.31 kB / 1.512 GB, free: 14.98 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.5529, allocations: 77.91 kB / 1.512 GB, free: 14.89 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.5531, allocations: 362.7 kB / 1.512 GB, free: 14.53 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.5534, allocations: 132.6 kB / 1.512 GB, free: 14.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.5538, allocations: 218.5 kB / 1.512 GB, free: 14.16 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.5544, allocations: 332.9 kB / 1.513 GB, free: 13.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5544, allocations: 4 kB / 1.513 GB, free: 13.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001036/0.5554, allocations: 0.4911 MB / 1.513 GB, free: 13.29 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5555, allocations: 7.938 kB / 1.513 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5555, allocations: 4 kB / 1.513 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.5558, allocations: 93.66 kB / 1.513 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.5562, allocations: 67.89 kB / 1.513 GB, free: 13.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.5598, allocations: 3.355 MB / 1.517 GB, free: 9.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.5604, allocations: 51.56 kB / 1.517 GB, free: 9.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5604, allocations: 12 kB / 1.517 GB, free: 9.418 MB / 1.217 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.0003676/0.5608, allocations: 209.7 kB / 1.517 GB, free: 9.203 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.5609, allocations: 59.67 kB / 1.517 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.5611, allocations: 60.56 kB / 1.517 GB, free: 9.082 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5611, allocations: 4 kB / 1.517 GB, free: 9.078 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5611, allocations: 3.938 kB / 1.517 GB, free: 9.074 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008553/0.5619, allocations: 0.5322 MB / 1.517 GB, free: 8.473 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5635, allocations: 0.9121 MB / 1.518 GB, free: 7.496 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5635, allocations: 0 / 1.518 GB, free: 7.496 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.5637, allocations: 43.97 kB / 1.518 GB, free: 7.453 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.5639, allocations: 72.92 kB / 1.518 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.564, allocations: 8 kB / 1.518 GB, free: 7.371 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.5659, allocations: 1.825 MB / 1.52 GB, free: 5.406 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5659, allocations: 4.031 kB / 1.52 GB, free: 5.402 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.5667, allocations: 433.6 kB / 1.521 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.5669, allocations: 168.8 kB / 1.521 GB, free: 4.77 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.567, allocations: 7.938 kB / 1.521 GB, free: 4.762 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5675, allocations: 19.98 kB / 1.521 GB, free: 4.742 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.5676, allocations: 27.84 kB / 1.521 GB, free: 4.715 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.5676, allocations: 12.17 kB / 1.521 GB, free: 4.703 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005715/0.5682, allocations: 402.8 kB / 1.521 GB, free: 4.312 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5682, allocations: 0 / 1.521 GB, free: 4.312 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007208/0.5689, allocations: 207.7 kB / 1.521 GB, free: 4.109 MB / 1.217 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.001249/0.5702, allocations: 1.025 MB / 1.522 GB, free: 3.055 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009834/0.5711, allocations: 0.5166 MB / 1.523 GB, free: 2.512 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.5711, allocations: 4 kB / 1.523 GB, free: 2.508 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.5715, allocations: 241 kB / 1.523 GB, free: 2.262 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.5732, allocations: 372 kB / 1.524 GB, free: 1.906 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.58, allocations: 4.466 MB / 1.528 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.5806, allocations: 0.9093 MB / 1.529 GB, free: 12.34 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004309/0.581, allocations: 116.8 kB / 1.529 GB, free: 12.22 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.5813, allocations: 191.4 kB / 1.529 GB, free: 12.03 MB / 1.232 GB Notification: Performance of SimCode: time 9.72e-07/0.5813, allocations: 0 / 1.529 GB, free: 12.03 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05546/0.6367, allocations: 17.88 MB / 1.547 GB, free: 10.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.57, allocations: 21.72 kB / 1.547 GB, free: 10.5 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.976597437867895]