Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001722/0.001722, allocations: 110 kB / 18.94 MB, free: 2.789 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.001971/0.001971, allocations: 189.6 kB / 22.23 MB, free: 5.234 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.565/1.565, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 63.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8621, allocations: 160.8 MB / 1.218 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2311/1.093, allocations: 171.9 MB / 1.386 GB, free: 10.78 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007847/1.101, allocations: 4.337 MB / 1.391 GB, free: 6.426 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/1.102, allocations: 27.75 kB / 1.391 GB, free: 6.398 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/1.103, allocations: 361.9 kB / 1.391 GB, free: 6.043 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003932/1.107, allocations: 1.295 MB / 1.392 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/1.11, allocations: 0.8278 MB / 1.393 GB, free: 3.918 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003054/1.113, allocations: 1.734 MB / 1.395 GB, free: 2.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/1.114, allocations: 452.3 kB / 1.395 GB, free: 1.738 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/1.115, allocations: 0.7304 MB / 1.396 GB, free: 1.008 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/1.117, allocations: 0.5826 MB / 1.396 GB, free: 436 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/1.117, allocations: 64 kB / 1.396 GB, free: 372 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/1.12, allocations: 0.8613 MB / 1.397 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/1.12, allocations: 279.1 kB / 1.398 GB, free: 15.23 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005982/1.121, allocations: 406.3 kB / 1.398 GB, free: 14.83 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/1.123, allocations: 1.269 MB / 1.399 GB, free: 13.55 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/1.123, allocations: 4 kB / 1.399 GB, free: 13.55 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.285e-06/1.123, allocations: 3.938 kB / 1.399 GB, free: 13.55 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.123, allocations: 0 / 1.399 GB, free: 13.55 MB / 1.107 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.002062/1.125, allocations: 1.051 MB / 1.4 GB, free: 12.44 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.125, allocations: 8.031 kB / 1.4 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.126, allocations: 175.4 kB / 1.4 GB, free: 12.26 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.127, allocations: 0.5408 MB / 1.401 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/1.127, allocations: 45.31 kB / 1.401 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/1.127, allocations: 48 kB / 1.401 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.129, allocations: 0.6479 MB / 1.402 GB, free: 10.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/1.129, allocations: 3.938 kB / 1.402 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/1.129, allocations: 31.98 kB / 1.402 GB, free: 10.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/1.129, allocations: 21.31 kB / 1.402 GB, free: 10.87 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/1.13, allocations: 0.5087 MB / 1.402 GB, free: 10.36 MB / 1.107 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.003693/1.133, allocations: 2.302 MB / 1.404 GB, free: 7.891 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/1.134, allocations: 246.8 kB / 1.405 GB, free: 7.641 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/1.134, allocations: 122.8 kB / 1.405 GB, free: 7.52 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/1.134, allocations: 11.92 kB / 1.405 GB, free: 7.508 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.134, allocations: 38.56 kB / 1.405 GB, free: 7.461 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/1.134, allocations: 4 kB / 1.405 GB, free: 7.457 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.001768/1.136, allocations: 0.6667 MB / 1.405 GB, free: 6.742 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/1.136, allocations: 77.11 kB / 1.406 GB, free: 6.648 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/1.137, allocations: 0.5536 MB / 1.406 GB, free: 6.086 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/1.137, allocations: 33.7 kB / 1.406 GB, free: 6.047 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/1.137, allocations: 343.7 kB / 1.406 GB, free: 5.703 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/1.137, allocations: 75.36 kB / 1.407 GB, free: 5.629 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.137, allocations: 69.98 kB / 1.407 GB, free: 5.555 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.138, allocations: 362.7 kB / 1.407 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/1.138, allocations: 132.5 kB / 1.407 GB, free: 5.062 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/1.138, allocations: 214.7 kB / 1.407 GB, free: 4.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/1.139, allocations: 336.4 kB / 1.408 GB, free: 4.461 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.139, allocations: 0 / 1.408 GB, free: 4.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000963/1.14, allocations: 494.9 kB / 1.408 GB, free: 3.965 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.14, allocations: 12 kB / 1.408 GB, free: 3.953 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.14, allocations: 0 / 1.408 GB, free: 3.953 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/1.14, allocations: 93.64 kB / 1.408 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/1.14, allocations: 71.91 kB / 1.408 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/1.144, allocations: 3.35 MB / 1.411 GB, free: 160 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/1.145, allocations: 51.61 kB / 1.412 GB, free: 108 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.145, allocations: 19.94 kB / 1.412 GB, free: 88 kB / 1.107 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.0004046/1.145, allocations: 213.9 kB / 1.412 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.145, allocations: 55.67 kB / 1.412 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/1.145, allocations: 60.38 kB / 1.412 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/1.145, allocations: 4 kB / 1.412 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.145, allocations: 7.938 kB / 1.412 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000786/1.146, allocations: 0.5289 MB / 1.412 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/1.147, allocations: 0.9182 MB / 1.413 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.147, allocations: 0 / 1.413 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.148, allocations: 47.91 kB / 1.413 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/1.148, allocations: 64.81 kB / 1.413 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.148, allocations: 4 kB / 1.413 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.15, allocations: 1.829 MB / 1.415 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.15, allocations: 4.062 kB / 1.415 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/1.151, allocations: 433.6 kB / 1.416 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/1.151, allocations: 172.7 kB / 1.416 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/1.151, allocations: 7.938 kB / 1.416 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.151, allocations: 23.98 kB / 1.416 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/1.151, allocations: 19.97 kB / 1.416 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/1.152, allocations: 11.98 kB / 1.416 GB, free: 11.37 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005269/1.152, allocations: 402.8 kB / 1.416 GB, free: 10.98 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.152, allocations: 0 / 1.416 GB, free: 10.98 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007142/1.153, allocations: 199.7 kB / 1.416 GB, free: 10.79 MB / 1.123 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.0004293/1.153, allocations: 166.9 kB / 1.417 GB, free: 10.62 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009805/1.154, allocations: 0.5204 MB / 1.417 GB, free: 10.07 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.154, allocations: 0 / 1.417 GB, free: 10.07 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/1.155, allocations: 247.2 kB / 1.417 GB, free: 9.82 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.156, allocations: 371.5 kB / 1.418 GB, free: 9.465 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/1.158, allocations: 1.017 MB / 1.419 GB, free: 8.414 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/1.159, allocations: 0.9053 MB / 1.42 GB, free: 7.48 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000427/1.159, allocations: 112.8 kB / 1.42 GB, free: 7.371 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/1.159, allocations: 47.38 kB / 1.42 GB, free: 7.324 MB / 1.123 GB Notification: Performance of SimCode: time 7.82e-07/1.159, allocations: 0 / 1.42 GB, free: 7.324 MB / 1.123 GB Notification: Performance of Templates: time 0.02585/1.185, allocations: 13.43 MB / 1.433 GB, free: 10.11 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.468085100874305]