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.001447/0.001447, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001712/0.001712, allocations: 221.6 kB / 23 MB, free: 4.918 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.288/3.288, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002072/0.002072, allocations: 68.02 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2038/0.5588, allocations: 151 MB / 1.474 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007642/0.5664, allocations: 4.032 MB / 1.478 GB, free: 6.305 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.5672, allocations: 35.75 kB / 1.478 GB, free: 6.27 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5683, allocations: 330 kB / 1.478 GB, free: 5.945 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.5715, allocations: 1.285 MB / 1.479 GB, free: 4.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.5735, allocations: 0.8042 MB / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.5759, allocations: 1.73 MB / 1.482 GB, free: 2.117 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.5766, allocations: 440.3 kB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5781, allocations: 0.7901 MB / 1.483 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.5794, allocations: 0.565 MB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5795, allocations: 64 kB / 1.484 GB, free: 272 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.581, allocations: 0.6662 MB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.5813, allocations: 287.1 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.5817, allocations: 334.7 kB / 1.485 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.5835, allocations: 1.265 MB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5835, allocations: 0 / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5835, allocations: 0 / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5836, allocations: 0 / 1.486 GB, free: 13.72 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.001888/0.5854, allocations: 0.9776 MB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5855, allocations: 8.031 kB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5865, allocations: 171.4 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5875, allocations: 494.7 kB / 1.488 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.5876, allocations: 37.31 kB / 1.488 GB, free: 11.99 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.5877, allocations: 52 kB / 1.488 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.5892, allocations: 1.003 MB / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.5892, allocations: 0 / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.5893, allocations: 20 kB / 1.489 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.5894, allocations: 25.3 kB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5904, allocations: 0.5126 MB / 1.489 GB, free: 10.27 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.003478/0.5939, allocations: 1.547 MB / 1.491 GB, free: 8.68 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.5945, allocations: 250.7 kB / 1.491 GB, free: 8.426 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.5948, allocations: 125.1 kB / 1.491 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.5948, allocations: 7.953 kB / 1.491 GB, free: 8.293 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.5949, allocations: 42.5 kB / 1.491 GB, free: 8.242 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/0.5949, allocations: 0 / 1.491 GB, free: 8.242 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001905/0.5968, allocations: 0.5042 MB / 1.492 GB, free: 7.727 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.5969, allocations: 81.11 kB / 1.492 GB, free: 7.629 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.5976, allocations: 441.8 kB / 1.492 GB, free: 7.188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.5976, allocations: 33.7 kB / 1.492 GB, free: 7.148 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.598, allocations: 343.7 kB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.5981, allocations: 87.3 kB / 1.493 GB, free: 6.723 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.5982, allocations: 69.92 kB / 1.493 GB, free: 6.648 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.5984, allocations: 358.7 kB / 1.493 GB, free: 6.289 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.5987, allocations: 136.6 kB / 1.493 GB, free: 6.156 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.5991, allocations: 244.3 kB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.5997, allocations: 332.9 kB / 1.494 GB, free: 5.523 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5997, allocations: 0 / 1.494 GB, free: 5.523 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009978/0.6007, allocations: 487 kB / 1.494 GB, free: 5.035 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6007, allocations: 8 kB / 1.494 GB, free: 5.027 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6007, allocations: 0 / 1.494 GB, free: 5.027 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.6011, allocations: 97.64 kB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.6014, allocations: 67.91 kB / 1.494 GB, free: 4.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.605, allocations: 3.085 MB / 1.497 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.6056, allocations: 39.77 kB / 1.497 GB, free: 1.535 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6056, allocations: 12.16 kB / 1.497 GB, free: 1.523 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.000377/0.606, allocations: 221.7 kB / 1.498 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6061, allocations: 43.72 kB / 1.498 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.6062, allocations: 43.69 kB / 1.498 GB, free: 1.207 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.6062, allocations: 4 kB / 1.498 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6062, allocations: 0 / 1.498 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008171/0.607, allocations: 0.5383 MB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.6083, allocations: 0.7479 MB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6083, allocations: 3.938 kB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.6085, allocations: 43.91 kB / 1.499 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.6087, allocations: 68.92 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.6087, allocations: 12.06 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.6106, allocations: 1.683 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6106, allocations: 0 / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.6113, allocations: 423 kB / 1.501 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.6115, allocations: 83.73 kB / 1.501 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.6116, allocations: 4 kB / 1.501 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.612, allocations: 19.97 kB / 1.501 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.6121, allocations: 19.97 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.6121, allocations: 15.98 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003761/0.6125, allocations: 303.1 kB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6125, allocations: 0 / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007542/0.6132, allocations: 223.5 kB / 1.502 GB, free: 12.8 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.0002916/0.6135, allocations: 147.4 kB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009789/0.6145, allocations: 0.5321 MB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6145, allocations: 0 / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.6149, allocations: 250.5 kB / 1.503 GB, free: 11.83 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6162, allocations: 270 kB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.618, allocations: 1.017 MB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.6183, allocations: 322.1 kB / 1.504 GB, free: 10.17 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.6185, allocations: 35.44 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of SimCode: time 9.22e-07/0.6185, allocations: 0 / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of Templates: time 0.01806/0.6365, allocations: 12.44 MB / 1.516 GB, free: 13.75 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: 13.628726142924279]