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.00179/0.00179, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002252/0.002252, allocations: 206.9 kB / 22.99 MB, free: 4.957 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 73.67 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1908/0.5019, allocations: 151 MB / 1.474 GB, free: 9.422 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.5089, allocations: 4.034 MB / 1.478 GB, free: 5.383 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.5096, allocations: 35.75 kB / 1.478 GB, free: 5.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.5105, allocations: 334 kB / 1.479 GB, free: 5.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.5135, allocations: 1.276 MB / 1.48 GB, free: 3.738 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.5156, allocations: 0.8223 MB / 1.481 GB, free: 2.918 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5177, allocations: 1.73 MB / 1.483 GB, free: 1.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.5184, allocations: 452.3 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.5198, allocations: 0.7825 MB / 1.484 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.5211, allocations: 0.5832 MB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.5212, allocations: 64 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.5226, allocations: 0.678 MB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.5229, allocations: 283.1 kB / 1.485 GB, free: 14.35 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.5233, allocations: 342.7 kB / 1.486 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5249, allocations: 1.257 MB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5249, allocations: 0 / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.649e-06/0.5249, allocations: 4 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.525, allocations: 0 / 1.487 GB, free: 12.75 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.001842/0.5268, allocations: 0.9679 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5268, allocations: 12.03 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.5279, allocations: 171.4 kB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.5288, allocations: 494.7 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.5289, allocations: 45.25 kB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.529, allocations: 52 kB / 1.489 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5303, allocations: 0.9955 MB / 1.489 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5304, allocations: 0 / 1.489 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.5304, allocations: 28 kB / 1.49 GB, free: 9.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.5305, allocations: 25.3 kB / 1.49 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009898/0.5315, allocations: 0.5125 MB / 1.49 GB, free: 9.293 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.003152/0.5346, allocations: 1.547 MB / 1.492 GB, free: 7.699 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.5351, allocations: 249.7 kB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.5354, allocations: 126.2 kB / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5354, allocations: 7.984 kB / 1.492 GB, free: 7.316 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5355, allocations: 46.45 kB / 1.492 GB, free: 7.262 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.5355, allocations: 0 / 1.492 GB, free: 7.262 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001707/0.5372, allocations: 0.5001 MB / 1.492 GB, free: 6.75 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.5372, allocations: 81.09 kB / 1.493 GB, free: 6.652 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.5378, allocations: 441.8 kB / 1.493 GB, free: 6.215 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.5378, allocations: 33.7 kB / 1.493 GB, free: 6.176 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.5381, allocations: 347.7 kB / 1.493 GB, free: 5.832 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.5382, allocations: 79.31 kB / 1.493 GB, free: 5.754 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.5383, allocations: 69.98 kB / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5385, allocations: 350.7 kB / 1.494 GB, free: 5.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.5388, allocations: 136.6 kB / 1.494 GB, free: 5.195 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.5391, allocations: 252.2 kB / 1.494 GB, free: 4.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.5397, allocations: 336.8 kB / 1.494 GB, free: 4.551 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5397, allocations: 0 / 1.494 GB, free: 4.551 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009712/0.5407, allocations: 483 kB / 1.495 GB, free: 4.066 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5407, allocations: 8 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5407, allocations: 4 kB / 1.495 GB, free: 4.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.541, allocations: 97.58 kB / 1.495 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.5414, allocations: 67.91 kB / 1.495 GB, free: 3.887 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.5446, allocations: 3.083 MB / 1.498 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.5451, allocations: 39.77 kB / 1.498 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.5451, allocations: 16.12 kB / 1.498 GB, free: 0.5469 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.0003071/0.5454, allocations: 221.7 kB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.5455, allocations: 47.72 kB / 1.498 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.169e-05/0.5456, allocations: 43.69 kB / 1.498 GB, free: 232 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5456, allocations: 3.984 kB / 1.498 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.5456, allocations: 0 / 1.498 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008106/0.5464, allocations: 0.5358 MB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.5476, allocations: 0.7522 MB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5476, allocations: 0 / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.5479, allocations: 35.98 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.5481, allocations: 72.73 kB / 1.5 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.5481, allocations: 12 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.5499, allocations: 1.687 MB / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5499, allocations: 0 / 1.501 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.5506, allocations: 425.7 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.5509, allocations: 87.66 kB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.5509, allocations: 0 / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.5513, allocations: 21.11 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.5514, allocations: 19.91 kB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.5515, allocations: 19.98 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003518/0.5518, allocations: 303.1 kB / 1.502 GB, free: 12.03 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5518, allocations: 0 / 1.502 GB, free: 12.03 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006676/0.5525, allocations: 219.6 kB / 1.503 GB, free: 11.82 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.0002698/0.5528, allocations: 143.4 kB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.5537, allocations: 0.5297 MB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5537, allocations: 4 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.5541, allocations: 255.1 kB / 1.503 GB, free: 10.85 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5554, allocations: 269.5 kB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.5571, allocations: 0.9761 MB / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.5574, allocations: 314.2 kB / 1.505 GB, free: 9.242 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.5578, allocations: 92.14 kB / 1.505 GB, free: 9.148 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.5579, allocations: 31.44 kB / 1.505 GB, free: 9.117 MB / 1.201 GB Notification: Performance of SimCode: time 6.91e-07/0.5579, allocations: 4 kB / 1.505 GB, free: 9.113 MB / 1.201 GB Notification: Performance of Templates: time 0.02023/0.5781, allocations: 11.7 MB / 1.516 GB, free: 13.68 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 -s gbode -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: 8.991815030007274]