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.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.001825/0.001825, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.00211/0.00211, allocations: 165.3 kB / 22.76 MB, free: 1.648 MB / 18.57 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.156/3.156, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8776 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.516e-05, allocations: 3.75 kB / 0.8776 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6852/0.6852, allocations: 150.9 MB / 1.025 GB, free: 17.01 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006471/0.6917, allocations: 4.044 MB / 1.029 GB, free: 16.97 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008149/0.6925, allocations: 26.53 kB / 1.029 GB, free: 16.97 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.6936, allocations: 344.1 kB / 1.029 GB, free: 16.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.6973, allocations: 1.318 MB / 1.03 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.6997, allocations: 0.8322 MB / 1.031 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.7027, allocations: 1.755 MB / 1.033 GB, free: 16.89 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.7037, allocations: 463.2 kB / 1.033 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.7064, allocations: 0.9922 MB / 1.034 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.7084, allocations: 0.5197 MB / 1.035 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.7086, allocations: 65.16 kB / 1.035 GB, free: 16.87 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.7108, allocations: 0.6801 MB / 1.036 GB, free: 16.85 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000597/0.7114, allocations: 294.7 kB / 1.036 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.7124, allocations: 297.2 kB / 1.036 GB, free: 16.79 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/0.7154, allocations: 1.297 MB / 1.038 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7154, allocations: 1.812 kB / 1.038 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7154, allocations: 0 / 1.038 GB, free: 16.68 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.247e-05/0.7154, allocations: 0.8438 kB / 1.038 GB, free: 16.68 MB / 0.9323 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.002774/0.7182, allocations: 0.9757 MB / 1.038 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.7182, allocations: 9.062 kB / 1.038 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.7196, allocations: 239.5 kB / 1.039 GB, free: 16.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.7207, allocations: 0.504 MB / 1.039 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.7208, allocations: 39.78 kB / 1.039 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.7209, allocations: 58.88 kB / 1.039 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7223, allocations: 1 MB / 1.04 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.7223, allocations: 1.062 kB / 1.04 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.7224, allocations: 25.75 kB / 1.04 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.7224, allocations: 24.58 kB / 1.04 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.7235, allocations: 0.5117 MB / 1.041 GB, free: 15.38 MB / 0.9323 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.003441/0.7269, allocations: 1.571 MB / 1.042 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.7275, allocations: 245.5 kB / 1.043 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.7277, allocations: 131.7 kB / 1.043 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.7278, allocations: 5.594 kB / 1.043 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7278, allocations: 39.97 kB / 1.043 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.7278, allocations: 3.938 kB / 1.043 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.001742/0.7295, allocations: 0.5139 MB / 1.043 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.7296, allocations: 80.7 kB / 1.043 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.7301, allocations: 441 kB / 1.044 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.7302, allocations: 38.55 kB / 1.044 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.7304, allocations: 350.5 kB / 1.044 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.7305, allocations: 73.02 kB / 1.044 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7306, allocations: 70.41 kB / 1.044 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.7307, allocations: 349.9 kB / 1.045 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.731, allocations: 130.8 kB / 1.045 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.7313, allocations: 244.2 kB / 1.045 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.7318, allocations: 334.1 kB / 1.045 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7318, allocations: 1.281 kB / 1.045 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009863/0.7328, allocations: 0.4942 MB / 1.046 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7328, allocations: 7.672 kB / 1.046 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7328, allocations: 2.75 kB / 1.046 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.7332, allocations: 97.83 kB / 1.046 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.7335, allocations: 66.31 kB / 1.046 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.7361, allocations: 3.089 MB / 1.049 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.7366, allocations: 41.77 kB / 1.049 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.7367, allocations: 13.62 kB / 1.049 GB, free: 11.25 MB / 0.9323 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.000306/0.737, allocations: 218.6 kB / 1.049 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.7371, allocations: 55.53 kB / 1.049 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.7372, allocations: 47.34 kB / 1.049 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7372, allocations: 2.797 kB / 1.049 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7372, allocations: 1.531 kB / 1.049 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007075/0.7379, allocations: 0.5281 MB / 1.05 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.7393, allocations: 0.7543 MB / 1.051 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.7393, allocations: 2.75 kB / 1.051 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.7395, allocations: 40.67 kB / 1.051 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.7397, allocations: 65.19 kB / 1.051 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.7397, allocations: 10.03 kB / 1.051 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.7412, allocations: 1.697 MB / 1.052 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7412, allocations: 0 / 1.052 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.7419, allocations: 442.2 kB / 1.053 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.7421, allocations: 78.48 kB / 1.053 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.7422, allocations: 5.5 kB / 1.053 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.7426, allocations: 18.83 kB / 1.053 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.7427, allocations: 19.48 kB / 1.053 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.7427, allocations: 15.88 kB / 1.053 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003782/0.7431, allocations: 303 kB / 1.053 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.7431, allocations: 0 / 1.053 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008002/0.7439, allocations: 215.1 kB / 1.053 GB, free: 8.953 MB / 0.9323 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.0002768/0.7442, allocations: 156.1 kB / 1.054 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008901/0.7451, allocations: 0.5189 MB / 1.054 GB, free: 8.633 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7451, allocations: 5.438 kB / 1.054 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.7454, allocations: 252 kB / 1.054 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.7469, allocations: 285.8 kB / 1.055 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.7488, allocations: 0.9554 MB / 1.055 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.7492, allocations: 312.9 kB / 1.056 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004745/0.7497, allocations: 90.72 kB / 1.056 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7498, allocations: 37.03 kB / 1.056 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/0.7498, allocations: 4.844 kB / 1.056 GB, free: 7.887 MB / 0.9323 GB Notification: Performance of Templates: time 0.01982/0.7696, allocations: 10.58 MB / 1.066 GB, free: 7.035 MB / 0.9323 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.332835909095593]