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.000902/0.000902, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008238/0.0008238, allocations: 174.3 kB / 23.21 MB, free: 1.355 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 0.8893/0.8893, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.726/1.726, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.084e-06/2.084e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.67e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6821/0.6822, allocations: 150.9 MB / 1.148 GB, free: 5.602 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007073/0.6892, allocations: 4.038 MB / 1.152 GB, free: 2.887 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.6904, allocations: 26.03 kB / 1.152 GB, free: 2.875 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.6916, allocations: 338.5 kB / 1.153 GB, free: 2.699 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.6951, allocations: 1.325 MB / 1.154 GB, free: 1.957 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.6975, allocations: 0.8345 MB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.7003, allocations: 1.755 MB / 1.156 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008629/0.7012, allocations: 436 kB / 1.157 GB, free: 500 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.7031, allocations: 0.992 MB / 1.158 GB, free: 48 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.7045, allocations: 0.5136 MB / 1.158 GB, free: 15.88 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.7046, allocations: 65.5 kB / 1.158 GB, free: 15.88 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.7063, allocations: 0.6713 MB / 1.159 GB, free: 15.65 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.7066, allocations: 296 kB / 1.159 GB, free: 15.51 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.707, allocations: 298 kB / 1.16 GB, free: 15.39 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.7093, allocations: 1.293 MB / 1.161 GB, free: 14.95 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7093, allocations: 5.125 kB / 1.161 GB, free: 14.95 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7093, allocations: 0 / 1.161 GB, free: 14.95 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.7094, allocations: 0 / 1.161 GB, free: 14.95 MB / 1.026 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.001825/0.7112, allocations: 0.9755 MB / 1.162 GB, free: 14.3 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7112, allocations: 10.56 kB / 1.162 GB, free: 14.3 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.712, allocations: 164.1 kB / 1.162 GB, free: 14.25 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.7128, allocations: 491.3 kB / 1.162 GB, free: 13.93 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.7128, allocations: 38.56 kB / 1.162 GB, free: 13.92 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.7129, allocations: 51.58 kB / 1.162 GB, free: 13.9 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.7141, allocations: 1.01 MB / 1.163 GB, free: 13.18 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.7141, allocations: 0 / 1.163 GB, free: 13.18 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.7142, allocations: 22.61 kB / 1.163 GB, free: 13.17 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.7142, allocations: 27.16 kB / 1.163 GB, free: 13.16 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.7151, allocations: 0.5082 MB / 1.164 GB, free: 13 MB / 1.026 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.002853/0.718, allocations: 1.556 MB / 1.165 GB, free: 12.15 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.7184, allocations: 241.8 kB / 1.166 GB, free: 12.05 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.7186, allocations: 121.5 kB / 1.166 GB, free: 12.01 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.7187, allocations: 8.125 kB / 1.166 GB, free: 12 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.7187, allocations: 39.03 kB / 1.166 GB, free: 11.96 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.7187, allocations: 0 / 1.166 GB, free: 11.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.001302/0.72, allocations: 0.5108 MB / 1.166 GB, free: 11.77 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.7201, allocations: 79.55 kB / 1.166 GB, free: 11.68 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.7206, allocations: 444.3 kB / 1.167 GB, free: 11.46 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.7206, allocations: 32.53 kB / 1.167 GB, free: 11.43 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.7208, allocations: 353.2 kB / 1.167 GB, free: 11.14 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.7209, allocations: 70.2 kB / 1.167 GB, free: 11.09 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.721, allocations: 66.17 kB / 1.167 GB, free: 11.05 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7211, allocations: 356.3 kB / 1.168 GB, free: 10.71 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.7214, allocations: 129.7 kB / 1.168 GB, free: 10.68 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.7217, allocations: 242.5 kB / 1.168 GB, free: 10.51 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.7221, allocations: 329.1 kB / 1.168 GB, free: 10.32 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7221, allocations: 0 / 1.168 GB, free: 10.32 MB / 1.026 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007583/0.7228, allocations: 498.7 kB / 1.169 GB, free: 10.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.7229, allocations: 6.625 kB / 1.169 GB, free: 10.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7229, allocations: 2 kB / 1.169 GB, free: 10.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.7232, allocations: 102.5 kB / 1.169 GB, free: 10.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.7234, allocations: 68.94 kB / 1.169 GB, free: 10.06 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.7259, allocations: 3.087 MB / 1.172 GB, free: 7.359 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.7263, allocations: 34.69 kB / 1.172 GB, free: 7.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.7263, allocations: 15.22 kB / 1.172 GB, free: 7.336 MB / 1.026 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.0003399/0.7266, allocations: 215.8 kB / 1.172 GB, free: 7.172 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.7267, allocations: 49.75 kB / 1.172 GB, free: 7.145 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.7268, allocations: 54.28 kB / 1.172 GB, free: 7.113 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7268, allocations: 3.453 kB / 1.172 GB, free: 7.113 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7268, allocations: 0 / 1.172 GB, free: 7.113 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006303/0.7274, allocations: 0.529 MB / 1.173 GB, free: 6.684 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7284, allocations: 0.757 MB / 1.174 GB, free: 6.242 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7284, allocations: 1.219 kB / 1.174 GB, free: 6.242 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.7285, allocations: 46.64 kB / 1.174 GB, free: 6.238 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.7287, allocations: 67.83 kB / 1.174 GB, free: 6.215 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.7287, allocations: 2.062 kB / 1.174 GB, free: 6.215 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.73, allocations: 1.687 MB / 1.175 GB, free: 4.801 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.73, allocations: 1.125 kB / 1.175 GB, free: 4.801 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.7305, allocations: 433.1 kB / 1.176 GB, free: 4.539 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.7307, allocations: 83 kB / 1.176 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.7307, allocations: 6.828 kB / 1.176 GB, free: 4.492 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.7309, allocations: 20.48 kB / 1.176 GB, free: 4.488 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.731, allocations: 24.52 kB / 1.176 GB, free: 4.48 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.731, allocations: 13.36 kB / 1.176 GB, free: 4.48 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003426/0.7314, allocations: 304.8 kB / 1.176 GB, free: 4.332 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.7314, allocations: 0 / 1.176 GB, free: 4.332 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007136/0.7321, allocations: 213.5 kB / 1.176 GB, free: 4.293 MB / 1.026 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.000326/0.7324, allocations: 146.2 kB / 1.177 GB, free: 4.191 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000795/0.7332, allocations: 0.5209 MB / 1.177 GB, free: 3.867 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7332, allocations: 1.156 kB / 1.177 GB, free: 3.867 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.7335, allocations: 251.4 kB / 1.177 GB, free: 3.707 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.7344, allocations: 276.8 kB / 1.178 GB, free: 3.629 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.736, allocations: 0.995 MB / 1.179 GB, free: 3.051 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.7363, allocations: 307.8 kB / 1.179 GB, free: 2.934 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.7364, allocations: 39.78 kB / 1.179 GB, free: 2.922 MB / 1.026 GB Notification: Performance of SimCode: time 1.052e-06/0.7364, allocations: 0 / 1.179 GB, free: 2.922 MB / 1.026 GB Notification: Performance of Templates: time 0.02128/0.7577, allocations: 12.43 MB / 1.191 GB, free: 15.48 MB / 1.042 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.176577236503363]