Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001334/0.001334, 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.001511/0.001511, allocations: 220.4 kB / 23 MB, free: 4.914 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002121/0.002121, allocations: 66.58 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3461, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1949/0.541, allocations: 150.9 MB / 1.431 GB, free: 4.438 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007553/0.5485, allocations: 4.03 MB / 1.435 GB, free: 412 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.5496, allocations: 27.81 kB / 1.435 GB, free: 384 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.5509, allocations: 334 kB / 1.435 GB, free: 48 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.5549, allocations: 1.28 MB / 1.437 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.5574, allocations: 0.8122 MB / 1.437 GB, free: 13.95 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.5603, allocations: 1.726 MB / 1.439 GB, free: 12.22 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.5612, allocations: 444.2 kB / 1.44 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.563, allocations: 0.7355 MB / 1.44 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.5648, allocations: 0.5588 MB / 1.441 GB, free: 10.49 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.565, allocations: 67.94 kB / 1.441 GB, free: 10.42 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.5668, allocations: 0.6701 MB / 1.442 GB, free: 9.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.5672, allocations: 283.1 kB / 1.442 GB, free: 9.473 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.5677, allocations: 334.7 kB / 1.442 GB, free: 9.145 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5697, allocations: 1.257 MB / 1.443 GB, free: 7.883 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5697, allocations: 0 / 1.443 GB, free: 7.883 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5697, allocations: 0 / 1.443 GB, free: 7.883 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5697, allocations: 4 kB / 1.443 GB, free: 7.879 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.001874/0.5716, allocations: 0.9796 MB / 1.444 GB, free: 6.863 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5716, allocations: 16.03 kB / 1.444 GB, free: 6.848 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009889/0.5726, allocations: 167.4 kB / 1.445 GB, free: 6.684 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.5736, allocations: 486.7 kB / 1.445 GB, free: 6.184 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.5736, allocations: 37.31 kB / 1.445 GB, free: 6.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.5737, allocations: 52 kB / 1.445 GB, free: 6.098 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.575, allocations: 1.01 MB / 1.446 GB, free: 4.988 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.575, allocations: 0 / 1.446 GB, free: 4.988 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.5751, allocations: 23.94 kB / 1.446 GB, free: 4.965 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.5751, allocations: 25.25 kB / 1.446 GB, free: 4.938 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.5761, allocations: 0.5087 MB / 1.447 GB, free: 4.43 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.002993/0.5791, allocations: 1.563 MB / 1.448 GB, free: 2.824 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.5796, allocations: 238.8 kB / 1.448 GB, free: 2.582 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.5798, allocations: 120.8 kB / 1.448 GB, free: 2.461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.5798, allocations: 4 kB / 1.448 GB, free: 2.457 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5799, allocations: 42.5 kB / 1.449 GB, free: 2.406 MB / 1.139 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.5799, allocations: 4 kB / 1.449 GB, free: 2.402 MB / 1.139 GB Notification: Performance of matching and sorting (n=20): time 0.001649/0.5815, allocations: 0.5048 MB / 1.449 GB, free: 1.887 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5816, allocations: 81.11 kB / 1.449 GB, free: 1.789 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.5821, allocations: 441.8 kB / 1.45 GB, free: 1.355 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.5822, allocations: 37.7 kB / 1.45 GB, free: 1.312 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5824, allocations: 347.7 kB / 1.45 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.5825, allocations: 75.38 kB / 1.45 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5826, allocations: 73.94 kB / 1.45 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5828, allocations: 354.7 kB / 1.45 GB, free: 472 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.5831, allocations: 128.6 kB / 1.45 GB, free: 344 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.5834, allocations: 244.2 kB / 1.451 GB, free: 60 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.584, allocations: 330 kB / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.584, allocations: 0 / 1.451 GB, free: 15.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009436/0.5849, allocations: 490.7 kB / 1.451 GB, free: 15.21 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5849, allocations: 8 kB / 1.452 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5849, allocations: 3.938 kB / 1.452 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.5853, allocations: 97.94 kB / 1.452 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.5856, allocations: 71.89 kB / 1.452 GB, free: 15.03 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.5888, allocations: 3.095 MB / 1.455 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.5892, allocations: 31.78 kB / 1.455 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.5893, allocations: 12 kB / 1.455 GB, free: 11.68 MB / 1.154 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.0003204/0.5896, allocations: 217.7 kB / 1.455 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.5897, allocations: 43.72 kB / 1.455 GB, free: 11.42 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.5898, allocations: 47.67 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5898, allocations: 8.062 kB / 1.455 GB, free: 11.36 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5898, allocations: 0 / 1.455 GB, free: 11.36 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007625/0.5905, allocations: 0.5366 MB / 1.456 GB, free: 10.76 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.5917, allocations: 0.7523 MB / 1.456 GB, free: 9.961 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5917, allocations: 64 / 1.456 GB, free: 9.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.592, allocations: 47.91 kB / 1.456 GB, free: 9.914 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.5922, allocations: 68.75 kB / 1.456 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.5922, allocations: 0 / 1.456 GB, free: 9.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.5939, allocations: 1.694 MB / 1.458 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5939, allocations: 0 / 1.458 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.5946, allocations: 421.7 kB / 1.458 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.5948, allocations: 79.67 kB / 1.459 GB, free: 7.531 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.5948, allocations: 8 kB / 1.459 GB, free: 7.523 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.5952, allocations: 18.22 kB / 1.459 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.5953, allocations: 23.89 kB / 1.459 GB, free: 7.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.5954, allocations: 16.06 kB / 1.459 GB, free: 7.469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000363/0.5957, allocations: 307.1 kB / 1.459 GB, free: 7.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5957, allocations: 0 / 1.459 GB, free: 7.172 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006869/0.5964, allocations: 219.6 kB / 1.459 GB, free: 6.957 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.0002881/0.5967, allocations: 146.9 kB / 1.459 GB, free: 6.805 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009879/0.5977, allocations: 0.5286 MB / 1.46 GB, free: 6.25 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5977, allocations: 4.062 kB / 1.46 GB, free: 6.246 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.5981, allocations: 254.5 kB / 1.46 GB, free: 5.984 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.5993, allocations: 270.4 kB / 1.46 GB, free: 5.73 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.6012, allocations: 1.025 MB / 1.461 GB, free: 4.668 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.6015, allocations: 306.2 kB / 1.462 GB, free: 4.344 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6017, allocations: 39.42 kB / 1.462 GB, free: 4.305 MB / 1.154 GB Notification: Performance of SimCode: time 8.11e-07/0.6017, allocations: 0 / 1.462 GB, free: 4.305 MB / 1.154 GB Notification: Performance of Templates: time 0.01755/0.6192, allocations: 12.44 MB / 1.474 GB, free: 7.934 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.281320449896157]