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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 115 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 489.2 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] 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=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 0.001902/0.001902, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.8445, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2026/1.047, allocations: 171.1 MB / 1.43 GB, free: 8.176 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007243/1.054, allocations: 4.297 MB / 1.434 GB, free: 4.688 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/1.055, allocations: 30.78 kB / 1.434 GB, free: 4.672 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/1.056, allocations: 353.9 kB / 1.434 GB, free: 4.387 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/1.06, allocations: 1.224 MB / 1.435 GB, free: 3.434 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.062, allocations: 0.7893 MB / 1.436 GB, free: 2.836 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002475/1.064, allocations: 1.687 MB / 1.438 GB, free: 1.871 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007967/1.065, allocations: 0.5613 MB / 1.438 GB, free: 1.523 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/1.066, allocations: 0.7412 MB / 1.439 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/1.068, allocations: 0.5543 MB / 1.44 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/1.068, allocations: 64.72 kB / 1.44 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/1.07, allocations: 0.7989 MB / 1.44 GB, free: 356 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/1.07, allocations: 263.6 kB / 1.441 GB, free: 176 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005094/1.07, allocations: 405.6 kB / 1.441 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/1.072, allocations: 1.273 MB / 1.442 GB, free: 15.09 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.072, allocations: 1.531 kB / 1.442 GB, free: 15.09 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.353e-06/1.072, allocations: 0 / 1.442 GB, free: 15.09 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.072, allocations: 0 / 1.442 GB, free: 15.09 MB / 1.139 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.001841/1.074, allocations: 1.057 MB / 1.443 GB, free: 14.25 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.074, allocations: 8.75 kB / 1.443 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/1.075, allocations: 172.4 kB / 1.444 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/1.076, allocations: 0.5414 MB / 1.444 GB, free: 13.72 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/1.076, allocations: 38.44 kB / 1.444 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.188e-05/1.076, allocations: 49.5 kB / 1.444 GB, free: 13.69 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.077, allocations: 0.659 MB / 1.445 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.077, allocations: 0 / 1.445 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/1.077, allocations: 22.56 kB / 1.445 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.077, allocations: 21.69 kB / 1.445 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/1.078, allocations: 0.5157 MB / 1.445 GB, free: 12.81 MB / 1.139 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.00339/1.082, allocations: 2.305 MB / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/1.082, allocations: 250.8 kB / 1.448 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/1.083, allocations: 135.4 kB / 1.448 GB, free: 9.949 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/1.083, allocations: 11.92 kB / 1.448 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.083, allocations: 46.5 kB / 1.448 GB, free: 9.883 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/1.083, allocations: 0 / 1.448 GB, free: 9.883 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.0017/1.084, allocations: 0.6635 MB / 1.449 GB, free: 9.172 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/1.085, allocations: 89.11 kB / 1.449 GB, free: 9.066 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/1.085, allocations: 0.5497 MB / 1.449 GB, free: 8.508 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/1.085, allocations: 33.7 kB / 1.449 GB, free: 8.469 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.086, allocations: 343.7 kB / 1.45 GB, free: 8.129 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/1.086, allocations: 71.36 kB / 1.45 GB, free: 8.059 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.086, allocations: 69.98 kB / 1.45 GB, free: 7.984 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.086, allocations: 362.7 kB / 1.45 GB, free: 7.621 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.086, allocations: 132.6 kB / 1.45 GB, free: 7.492 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/1.087, allocations: 222.5 kB / 1.451 GB, free: 7.242 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/1.087, allocations: 336.3 kB / 1.451 GB, free: 6.883 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.087, allocations: 3.938 kB / 1.451 GB, free: 6.879 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009449/1.088, allocations: 0.4917 MB / 1.451 GB, free: 6.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.088, allocations: 11.94 kB / 1.451 GB, free: 6.363 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.088, allocations: 0 / 1.451 GB, free: 6.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/1.088, allocations: 97.64 kB / 1.451 GB, free: 6.262 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.089, allocations: 67.91 kB / 1.451 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/1.092, allocations: 3.342 MB / 1.455 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/1.093, allocations: 51.61 kB / 1.455 GB, free: 2.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/1.093, allocations: 12 kB / 1.455 GB, free: 2.508 MB / 1.139 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.0003016/1.093, allocations: 225.1 kB / 1.455 GB, free: 2.281 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.093, allocations: 55.67 kB / 1.455 GB, free: 2.227 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/1.093, allocations: 56.5 kB / 1.455 GB, free: 2.168 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.093, allocations: 7.938 kB / 1.455 GB, free: 2.16 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.093, allocations: 7.938 kB / 1.455 GB, free: 2.152 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007814/1.094, allocations: 0.5228 MB / 1.456 GB, free: 1.559 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/1.095, allocations: 0.9221 MB / 1.457 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.096, allocations: 0 / 1.457 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.096, allocations: 39.97 kB / 1.457 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/1.096, allocations: 60.81 kB / 1.457 GB, free: 480 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/1.096, allocations: 8 kB / 1.457 GB, free: 472 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.098, allocations: 1.833 MB / 1.458 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.098, allocations: 8.094 kB / 1.458 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/1.099, allocations: 435.6 kB / 1.459 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.099, allocations: 176.7 kB / 1.459 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/1.099, allocations: 7.938 kB / 1.459 GB, free: 13.83 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/1.099, allocations: 19.98 kB / 1.459 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/1.099, allocations: 19.97 kB / 1.459 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/1.099, allocations: 12 kB / 1.459 GB, free: 13.78 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004928/1.1, allocations: 398.8 kB / 1.459 GB, free: 13.39 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.11e-07/1.1, allocations: 0 / 1.459 GB, free: 13.39 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006575/1.101, allocations: 203.7 kB / 1.46 GB, free: 13.19 MB / 1.154 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.0004041/1.101, allocations: 166.8 kB / 1.46 GB, free: 13.03 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009436/1.102, allocations: 0.5321 MB / 1.46 GB, free: 12.47 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.102, allocations: 0 / 1.46 GB, free: 12.47 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/1.102, allocations: 263.2 kB / 1.461 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.104, allocations: 369.8 kB / 1.461 GB, free: 11.85 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.106, allocations: 1.046 MB / 1.462 GB, free: 10.76 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/1.106, allocations: 0.9054 MB / 1.463 GB, free: 9.828 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.107, allocations: 39.44 kB / 1.463 GB, free: 9.789 MB / 1.154 GB Notification: Performance of SimCode: time 5.41e-07/1.107, allocations: 0 / 1.463 GB, free: 9.789 MB / 1.154 GB Notification: Performance of Templates: time 0.01839/1.125, allocations: 13.47 MB / 1.476 GB, free: 12.4 MB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.251526429783553]