Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 106.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 489.7 MB / 0.7761 GB, free: 33.57 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 69.62 kB / 1.127 GB, free: 36.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 172.1 MB / 1.295 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2063/0.5316, allocations: 171.7 MB / 1.462 GB, free: 15.42 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007435/0.5391, allocations: 4.318 MB / 1.467 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008992/0.54, allocations: 23.88 kB / 1.467 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.5411, allocations: 373.9 kB / 1.467 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.5445, allocations: 1.264 MB / 1.468 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.5467, allocations: 0.8166 MB / 1.469 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.5494, allocations: 1.691 MB / 1.471 GB, free: 6.922 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.5502, allocations: 487.6 kB / 1.471 GB, free: 6.441 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.5519, allocations: 0.7824 MB / 1.472 GB, free: 5.656 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.5534, allocations: 0.5758 MB / 1.473 GB, free: 5.082 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.5535, allocations: 68 kB / 1.473 GB, free: 5.016 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.5554, allocations: 0.8379 MB / 1.473 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004019/0.5558, allocations: 283.1 kB / 1.474 GB, free: 3.898 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005812/0.5564, allocations: 402.3 kB / 1.474 GB, free: 3.504 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.5588, allocations: 1.269 MB / 1.475 GB, free: 2.23 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5588, allocations: 4 kB / 1.475 GB, free: 2.227 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5588, allocations: 0 / 1.475 GB, free: 2.227 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.5588, allocations: 0 / 1.475 GB, free: 2.227 MB / 1.17 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.002075/0.5609, allocations: 1.063 MB / 1.476 GB, free: 1.109 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5609, allocations: 8.031 kB / 1.476 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.5619, allocations: 167.4 kB / 1.477 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.5629, allocations: 0.5448 MB / 1.477 GB, free: 368 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.5629, allocations: 45.31 kB / 1.477 GB, free: 324 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.563, allocations: 48 kB / 1.477 GB, free: 276 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5642, allocations: 0.6479 MB / 1.478 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5642, allocations: 0 / 1.478 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.5643, allocations: 24 kB / 1.478 GB, free: 15.58 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.5643, allocations: 21.31 kB / 1.478 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.5653, allocations: 0.5164 MB / 1.478 GB, free: 15.04 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.003701/0.569, allocations: 2.302 MB / 1.481 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.5695, allocations: 238.8 kB / 1.481 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.5698, allocations: 129.1 kB / 1.481 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.5698, allocations: 19.88 kB / 1.481 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5699, allocations: 42.5 kB / 1.481 GB, free: 12.13 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.5699, allocations: 0 / 1.481 GB, free: 12.13 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001772/0.5716, allocations: 0.6632 MB / 1.482 GB, free: 11.42 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.5717, allocations: 81.11 kB / 1.482 GB, free: 11.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.5724, allocations: 0.5574 MB / 1.482 GB, free: 10.75 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.5724, allocations: 33.7 kB / 1.482 GB, free: 10.71 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.5727, allocations: 335.8 kB / 1.483 GB, free: 10.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.5728, allocations: 83.31 kB / 1.483 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.5729, allocations: 69.98 kB / 1.483 GB, free: 10.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5731, allocations: 366.7 kB / 1.483 GB, free: 9.859 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.5734, allocations: 128.6 kB / 1.483 GB, free: 9.734 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.5737, allocations: 218.5 kB / 1.483 GB, free: 9.488 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.5743, allocations: 336.9 kB / 1.484 GB, free: 9.129 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5743, allocations: 0 / 1.484 GB, free: 9.129 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009678/0.5752, allocations: 490.9 kB / 1.484 GB, free: 8.637 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5752, allocations: 8 kB / 1.484 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5753, allocations: 0 / 1.484 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.5756, allocations: 101.6 kB / 1.484 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.5759, allocations: 79.94 kB / 1.484 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.5794, allocations: 3.336 MB / 1.488 GB, free: 4.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.5799, allocations: 55.61 kB / 1.488 GB, free: 4.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.5799, allocations: 8 kB / 1.488 GB, free: 4.762 MB / 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.0003522/0.5803, allocations: 217.8 kB / 1.488 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5804, allocations: 59.67 kB / 1.488 GB, free: 4.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.5805, allocations: 56.69 kB / 1.488 GB, free: 4.422 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5805, allocations: 4 kB / 1.488 GB, free: 4.418 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5805, allocations: 7.938 kB / 1.488 GB, free: 4.41 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/0.5813, allocations: 0.5253 MB / 1.489 GB, free: 3.816 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.5827, allocations: 0.9202 MB / 1.489 GB, free: 2.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5827, allocations: 3.938 kB / 1.489 GB, free: 2.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.583, allocations: 39.97 kB / 1.49 GB, free: 2.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.5832, allocations: 72.81 kB / 1.49 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5832, allocations: 4 kB / 1.49 GB, free: 2.711 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.5852, allocations: 1.828 MB / 1.491 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5852, allocations: 0 / 1.491 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.5859, allocations: 433.7 kB / 1.492 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.5862, allocations: 172.9 kB / 1.492 GB, free: 104 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.5863, allocations: 7.938 kB / 1.492 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.5867, allocations: 19.98 kB / 1.492 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.5868, allocations: 19.97 kB / 1.492 GB, free: 56 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.5868, allocations: 15.94 kB / 1.492 GB, free: 40 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000563/0.5874, allocations: 402.8 kB / 1.492 GB, free: 15.65 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5874, allocations: 4 kB / 1.492 GB, free: 15.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007283/0.5881, allocations: 207.7 kB / 1.493 GB, free: 15.44 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.0004337/0.5886, allocations: 156.2 kB / 1.493 GB, free: 15.29 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.5896, allocations: 0.5172 MB / 1.493 GB, free: 14.75 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5896, allocations: 4 kB / 1.493 GB, free: 14.74 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.5899, allocations: 250.4 kB / 1.493 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.5915, allocations: 376.8 kB / 1.494 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.5932, allocations: 1.042 MB / 1.495 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.5937, allocations: 0.9093 MB / 1.496 GB, free: 12.11 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5938, allocations: 43.44 kB / 1.496 GB, free: 12.06 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/0.5939, allocations: 0 / 1.496 GB, free: 12.06 MB / 1.201 GB Notification: Performance of Templates: time 0.01801/0.6119, allocations: 13.52 MB / 1.509 GB, free: 14.64 MB / 1.217 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches