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.001527/0.001527, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001665/0.001665, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.903/2.903, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [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.002052/0.002052, allocations: 63.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8884/0.8904, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2141/1.104, allocations: 174.6 MB / 1.492 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007081/1.112, allocations: 4.315 MB / 1.497 GB, free: 4.352 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/1.112, allocations: 31.25 kB / 1.497 GB, free: 4.336 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/1.114, allocations: 370.6 kB / 1.497 GB, free: 4.043 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/1.117, allocations: 1.258 MB / 1.498 GB, free: 3.074 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/1.119, allocations: 0.808 MB / 1.499 GB, free: 2.461 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002459/1.121, allocations: 1.695 MB / 1.501 GB, free: 1.488 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/1.122, allocations: 489.1 kB / 1.501 GB, free: 1.176 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/1.124, allocations: 0.7863 MB / 1.502 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/1.125, allocations: 0.574 MB / 1.502 GB, free: 392 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.125, allocations: 64.62 kB / 1.503 GB, free: 368 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/1.127, allocations: 0.8495 MB / 1.503 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/1.127, allocations: 275.3 kB / 1.504 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004882/1.128, allocations: 410.2 kB / 1.504 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/1.13, allocations: 1.273 MB / 1.505 GB, free: 13.56 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.13, allocations: 0 / 1.505 GB, free: 13.56 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.172e-06/1.13, allocations: 0 / 1.505 GB, free: 13.56 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.788e-06/1.13, allocations: 0 / 1.505 GB, free: 13.56 MB / 1.186 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.001879/1.131, allocations: 1.063 MB / 1.506 GB, free: 12.44 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.131, allocations: 11.98 kB / 1.506 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/1.132, allocations: 163.4 kB / 1.506 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/1.133, allocations: 0.5526 MB / 1.507 GB, free: 11.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/1.133, allocations: 41.31 kB / 1.507 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/1.133, allocations: 48 kB / 1.507 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.135, allocations: 0.6479 MB / 1.508 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/1.135, allocations: 0 / 1.508 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/1.135, allocations: 28 kB / 1.508 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.135, allocations: 29.3 kB / 1.508 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009614/1.136, allocations: 0.5087 MB / 1.508 GB, free: 10.36 MB / 1.186 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.003524/1.139, allocations: 2.294 MB / 1.511 GB, free: 7.898 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/1.14, allocations: 243.3 kB / 1.511 GB, free: 7.652 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/1.14, allocations: 121.8 kB / 1.511 GB, free: 7.531 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.14, allocations: 11.89 kB / 1.511 GB, free: 7.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.14, allocations: 42.5 kB / 1.511 GB, free: 7.469 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/1.14, allocations: 4 kB / 1.511 GB, free: 7.465 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001752/1.142, allocations: 0.6713 MB / 1.512 GB, free: 6.746 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.142, allocations: 81.11 kB / 1.512 GB, free: 6.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/1.143, allocations: 0.5574 MB / 1.512 GB, free: 6.082 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/1.143, allocations: 29.7 kB / 1.512 GB, free: 6.047 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/1.143, allocations: 339.8 kB / 1.513 GB, free: 5.707 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8e-05/1.143, allocations: 87.31 kB / 1.513 GB, free: 5.621 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.143, allocations: 65.98 kB / 1.513 GB, free: 5.551 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.143, allocations: 366.7 kB / 1.513 GB, free: 5.184 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.144, allocations: 128.5 kB / 1.513 GB, free: 5.059 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/1.144, allocations: 218.6 kB / 1.513 GB, free: 4.812 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/1.144, allocations: 332.9 kB / 1.514 GB, free: 4.457 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/1.144, allocations: 0 / 1.514 GB, free: 4.457 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009724/1.145, allocations: 0.4908 MB / 1.514 GB, free: 3.953 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.145, allocations: 9.719 kB / 1.514 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.145, allocations: 3.984 kB / 1.514 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/1.146, allocations: 101.9 kB / 1.514 GB, free: 3.836 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.146, allocations: 67.91 kB / 1.514 GB, free: 3.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/1.15, allocations: 3.344 MB / 1.518 GB, free: 148 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/1.15, allocations: 47.62 kB / 1.518 GB, free: 100 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.15, allocations: 12 kB / 1.518 GB, free: 88 kB / 1.186 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.0003527/1.15, allocations: 229.7 kB / 1.518 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.151, allocations: 55.67 kB / 1.518 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/1.151, allocations: 48.52 kB / 1.518 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.151, allocations: 11.92 kB / 1.518 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.151, allocations: 3.938 kB / 1.518 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007817/1.151, allocations: 0.5267 MB / 1.519 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/1.153, allocations: 0.9143 MB / 1.519 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.153, allocations: 0 / 1.519 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/1.153, allocations: 39.97 kB / 1.519 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/1.153, allocations: 68.86 kB / 1.52 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.153, allocations: 8 kB / 1.52 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/1.155, allocations: 1.829 MB / 1.521 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.155, allocations: 0 / 1.521 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/1.156, allocations: 439.8 kB / 1.522 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/1.156, allocations: 168.7 kB / 1.522 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/1.156, allocations: 7.938 kB / 1.522 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/1.157, allocations: 26.61 kB / 1.522 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/1.157, allocations: 15.98 kB / 1.522 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.157, allocations: 19.98 kB / 1.522 GB, free: 11.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00051/1.157, allocations: 402.8 kB / 1.522 GB, free: 10.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.157, allocations: 0 / 1.522 GB, free: 10.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006859/1.158, allocations: 203.7 kB / 1.523 GB, free: 10.78 MB / 1.201 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.0002965/1.158, allocations: 147.1 kB / 1.523 GB, free: 10.62 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.159, allocations: 0.5224 MB / 1.523 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.159, allocations: 0 / 1.523 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000412/1.16, allocations: 258.4 kB / 1.523 GB, free: 9.812 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.161, allocations: 369.8 kB / 1.524 GB, free: 9.457 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.163, allocations: 1.038 MB / 1.525 GB, free: 8.371 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/1.164, allocations: 0.9093 MB / 1.526 GB, free: 7.434 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/1.164, allocations: 39.44 kB / 1.526 GB, free: 7.395 MB / 1.201 GB Notification: Performance of SimCode: time 5.71e-07/1.164, allocations: 0 / 1.526 GB, free: 7.395 MB / 1.201 GB Notification: Performance of Templates: time 0.01931/1.183, allocations: 13.51 MB / 1.539 GB, free: 9.98 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.056311837004614]