Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.53/2.53, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.754, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1868/0.9408, allocations: 171.8 MB / 1.439 GB, free: 7.121 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006626/0.9474, allocations: 4.334 MB / 1.443 GB, free: 3.613 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.9482, allocations: 21.84 kB / 1.443 GB, free: 3.605 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.9493, allocations: 374 kB / 1.444 GB, free: 3.309 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.9524, allocations: 1.261 MB / 1.445 GB, free: 2.336 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.9544, allocations: 0.8107 MB / 1.446 GB, free: 1.723 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.9567, allocations: 1.707 MB / 1.447 GB, free: 388 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007699/0.9574, allocations: 443.8 kB / 1.448 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.9588, allocations: 0.7238 MB / 1.449 GB, free: 15.21 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.9603, allocations: 0.5848 MB / 1.449 GB, free: 14.63 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.9604, allocations: 67.98 kB / 1.449 GB, free: 14.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.9621, allocations: 0.8457 MB / 1.45 GB, free: 13.72 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.9625, allocations: 275.2 kB / 1.45 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.9631, allocations: 410.2 kB / 1.451 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.965, allocations: 1.265 MB / 1.452 GB, free: 11.78 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.965, allocations: 4 kB / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.372e-06/0.965, allocations: 4 kB / 1.452 GB, free: 11.77 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.761e-05/0.965, allocations: 0 / 1.452 GB, free: 11.77 MB / 1.139 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.002028/0.9671, allocations: 1.055 MB / 1.453 GB, free: 10.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9671, allocations: 12.03 kB / 1.453 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.9672, allocations: 102.5 kB / 1.453 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.9682, allocations: 155.5 kB / 1.453 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.9691, allocations: 0.5487 MB / 1.454 GB, free: 9.801 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.9691, allocations: 45.3 kB / 1.454 GB, free: 9.758 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.9692, allocations: 55.98 kB / 1.454 GB, free: 9.703 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.9703, allocations: 0.6441 MB / 1.455 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.9703, allocations: 3.938 kB / 1.455 GB, free: 9.039 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.9704, allocations: 20 kB / 1.455 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.9704, allocations: 25.3 kB / 1.455 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.9714, allocations: 0.5165 MB / 1.455 GB, free: 8.473 MB / 1.139 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.003332/0.9747, allocations: 2.298 MB / 1.457 GB, free: 6.012 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.9752, allocations: 238.8 kB / 1.458 GB, free: 5.77 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.9754, allocations: 136.7 kB / 1.458 GB, free: 5.633 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.9755, allocations: 4 kB / 1.458 GB, free: 5.629 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.9755, allocations: 38.56 kB / 1.458 GB, free: 5.582 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.9755, allocations: 0 / 1.458 GB, free: 5.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001629/0.9771, allocations: 0.6669 MB / 1.458 GB, free: 4.867 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.9772, allocations: 81.11 kB / 1.458 GB, free: 4.77 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.9778, allocations: 0.5574 MB / 1.459 GB, free: 4.203 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.9779, allocations: 37.69 kB / 1.459 GB, free: 4.16 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.9781, allocations: 335.8 kB / 1.459 GB, free: 3.828 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.9782, allocations: 71.42 kB / 1.459 GB, free: 3.758 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.9783, allocations: 73.97 kB / 1.459 GB, free: 3.68 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9784, allocations: 362.7 kB / 1.46 GB, free: 3.316 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.9787, allocations: 136.5 kB / 1.46 GB, free: 3.184 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.979, allocations: 218.6 kB / 1.46 GB, free: 2.938 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.9795, allocations: 336.8 kB / 1.46 GB, free: 2.578 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9796, allocations: 4 kB / 1.46 GB, free: 2.574 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000928/0.9805, allocations: 498.8 kB / 1.461 GB, free: 2.074 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9805, allocations: 7.938 kB / 1.461 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9805, allocations: 4 kB / 1.461 GB, free: 2.062 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.9808, allocations: 93.66 kB / 1.461 GB, free: 1.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.9811, allocations: 75.95 kB / 1.461 GB, free: 1.891 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.9843, allocations: 3.344 MB / 1.464 GB, free: 14.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.9847, allocations: 55.61 kB / 1.464 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.9848, allocations: 8 kB / 1.464 GB, free: 14.2 MB / 1.154 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.0002765/0.985, allocations: 225.7 kB / 1.465 GB, free: 13.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.9851, allocations: 55.67 kB / 1.465 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.931e-05/0.9852, allocations: 56.5 kB / 1.465 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9852, allocations: 4 kB / 1.465 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9852, allocations: 3.938 kB / 1.465 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007149/0.986, allocations: 0.5323 MB / 1.465 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.9873, allocations: 0.9128 MB / 1.466 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.9873, allocations: 0 / 1.466 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.9875, allocations: 43.91 kB / 1.466 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.9877, allocations: 68.86 kB / 1.466 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.9877, allocations: 8 kB / 1.466 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.9894, allocations: 1.825 MB / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9894, allocations: 4.031 kB / 1.468 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.99, allocations: 433.6 kB / 1.469 GB, free: 9.734 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.9903, allocations: 176.7 kB / 1.469 GB, free: 9.543 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.9904, allocations: 3.938 kB / 1.469 GB, free: 9.539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.9908, allocations: 21.48 kB / 1.469 GB, free: 9.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.9908, allocations: 19.97 kB / 1.469 GB, free: 9.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.9909, allocations: 15.98 kB / 1.469 GB, free: 9.484 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004463/0.9913, allocations: 394.8 kB / 1.469 GB, free: 9.102 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9913, allocations: 4 kB / 1.469 GB, free: 9.098 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006384/0.992, allocations: 207.7 kB / 1.469 GB, free: 8.895 MB / 1.154 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.001245/0.9932, allocations: 1.034 MB / 1.47 GB, free: 7.832 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009125/0.9941, allocations: 0.5285 MB / 1.471 GB, free: 7.277 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9941, allocations: 0.5625 kB / 1.471 GB, free: 7.277 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.9945, allocations: 256.1 kB / 1.471 GB, free: 7.016 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.9961, allocations: 375.8 kB / 1.471 GB, free: 6.656 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/1.002, allocations: 4.465 MB / 1.476 GB, free: 2.027 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/1.003, allocations: 0.9093 MB / 1.477 GB, free: 1.09 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004223/1.003, allocations: 108.8 kB / 1.477 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/1.004, allocations: 195.4 kB / 1.477 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of SimCode: time 8.12e-07/1.004, allocations: 3.938 kB / 1.477 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/1.056, allocations: 17.9 MB / 1.494 GB, free: 15.21 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.42, allocations: 8.062 kB / 1.494 GB, free: 15.2 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.863552269001957]