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.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.001014/0.001014, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00109/0.00109, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8458/0.8458, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.599/1.599, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.352e-06/1.352e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.454e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5695/0.5695, allocations: 150.9 MB / 1.098 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003786/0.5733, allocations: 4.036 MB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.5736, allocations: 32.47 kB / 1.102 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.5743, allocations: 334.7 kB / 1.102 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.5762, allocations: 1.314 MB / 1.103 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.5775, allocations: 0.8406 MB / 1.104 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.5794, allocations: 1.752 MB / 1.106 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.5799, allocations: 438.1 kB / 1.106 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.5808, allocations: 0.9315 MB / 1.107 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.5817, allocations: 0.5267 MB / 1.108 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.5818, allocations: 64.41 kB / 1.108 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5828, allocations: 0.6829 MB / 1.108 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.5831, allocations: 295.9 kB / 1.109 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.5833, allocations: 293.5 kB / 1.109 GB, free: 34.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.5847, allocations: 1.296 MB / 1.11 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5847, allocations: 0 / 1.11 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5847, allocations: 0 / 1.11 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.5847, allocations: 1.156 kB / 1.11 GB, free: 33.89 MB / 0.9948 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.001218/0.5859, allocations: 0.9695 MB / 1.111 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5859, allocations: 10.41 kB / 1.111 GB, free: 33.26 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.586, allocations: 102.1 kB / 1.111 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.5866, allocations: 167.3 kB / 1.112 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.5872, allocations: 496.9 kB / 1.112 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5872, allocations: 39.5 kB / 1.112 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.5872, allocations: 54.53 kB / 1.112 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.5881, allocations: 0.9986 MB / 1.113 GB, free: 32.08 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5881, allocations: 5.25 kB / 1.113 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.5881, allocations: 22 kB / 1.113 GB, free: 32.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.5881, allocations: 26.94 kB / 1.113 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.5888, allocations: 0.51 MB / 1.114 GB, free: 31.89 MB / 0.9948 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.001984/0.5908, allocations: 1.66 MB / 1.115 GB, free: 31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.5911, allocations: 252.3 kB / 1.115 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5913, allocations: 121.1 kB / 1.116 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.5913, allocations: 5.047 kB / 1.116 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.5913, allocations: 37.62 kB / 1.116 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.5913, allocations: 1.094 kB / 1.116 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.000947/0.5923, allocations: 0.5264 MB / 1.116 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.5923, allocations: 80.02 kB / 1.116 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.5927, allocations: 0.559 MB / 1.117 GB, free: 30.26 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.5928, allocations: 31.92 kB / 1.117 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5929, allocations: 340.4 kB / 1.117 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.5929, allocations: 70.45 kB / 1.117 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.593, allocations: 71.75 kB / 1.117 GB, free: 29.86 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.5931, allocations: 357.9 kB / 1.118 GB, free: 29.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5932, allocations: 130.6 kB / 1.118 GB, free: 29.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.5934, allocations: 249.3 kB / 1.118 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.5938, allocations: 332.9 kB / 1.118 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5938, allocations: 1.219 kB / 1.118 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005398/0.5943, allocations: 499.4 kB / 1.119 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5943, allocations: 17.38 kB / 1.119 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5943, allocations: 3.312 kB / 1.119 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.5945, allocations: 94.61 kB / 1.119 GB, free: 28.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5947, allocations: 67.7 kB / 1.119 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.5963, allocations: 3.127 MB / 1.122 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5965, allocations: 54.16 kB / 1.122 GB, free: 26.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.5965, allocations: 13.86 kB / 1.122 GB, free: 26.06 MB / 0.9948 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.0001603/0.5966, allocations: 220.2 kB / 1.122 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.5967, allocations: 56.67 kB / 1.122 GB, free: 25.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.5968, allocations: 57.45 kB / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5968, allocations: 2.062 kB / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.5968, allocations: 0 / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003984/0.5972, allocations: 0.5288 MB / 1.123 GB, free: 25.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.5979, allocations: 0.8197 MB / 1.124 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5979, allocations: 0.6094 kB / 1.124 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.598, allocations: 39.44 kB / 1.124 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.5982, allocations: 66.84 kB / 1.124 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5982, allocations: 6.906 kB / 1.124 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008675/0.599, allocations: 1.71 MB / 1.125 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.599, allocations: 3.938 kB / 1.125 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.5994, allocations: 430.6 kB / 1.126 GB, free: 23.19 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5995, allocations: 100.5 kB / 1.126 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.5996, allocations: 6.109 kB / 1.126 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.5998, allocations: 20.41 kB / 1.126 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.5998, allocations: 31.95 kB / 1.126 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.5999, allocations: 16.59 kB / 1.126 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003017/0.6002, allocations: 397.2 kB / 1.126 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6002, allocations: 0 / 1.126 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004063/0.6006, allocations: 205.1 kB / 1.127 GB, free: 22.9 MB / 0.9948 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.0006447/0.6012, allocations: 1.009 MB / 1.128 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.6018, allocations: 0.5229 MB / 1.128 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.6018, allocations: 2.969 kB / 1.128 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.602, allocations: 251.8 kB / 1.128 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.603, allocations: 383.1 kB / 1.129 GB, free: 21.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.6069, allocations: 4.455 MB / 1.133 GB, free: 18.99 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.6071, allocations: 309 kB / 1.133 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002729/0.6074, allocations: 113.7 kB / 1.133 GB, free: 18.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.6076, allocations: 196.5 kB / 1.134 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.6076, allocations: 0 / 1.134 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/0.6508, allocations: 19.57 MB / 1.153 GB, free: 16.26 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.47, allocations: 19.52 kB / 1.153 GB, free: 16.25 MB / 0.9948 GB " [Timeout remaining time 290] (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/jenkins/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: 13.372323391027749]