Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001735/0.001735, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002083/0.002083, allocations: 212.9 kB / 23.04 MB, free: 4.844 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [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.001968/0.001968, allocations: 67.02 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004414/0.3779, allocations: 2.599 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004512/0.3824, allocations: 2.609 MB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.3827, allocations: 11.88 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3843, allocations: 490 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.3849, allocations: 294.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.386, allocations: 415.9 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.388, allocations: 1.575 MB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3882, allocations: 70.42 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.3889, allocations: 486.7 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.3896, allocations: 434.5 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.3896, allocations: 52 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3898, allocations: 56 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.3902, allocations: 303.1 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.3905, allocations: 298.7 kB / 1.337 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3915, allocations: 0.9263 MB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3915, allocations: 0 / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3915, allocations: 4 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.3915, allocations: 0 / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002145/0.3937, allocations: 1.111 MB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3937, allocations: 15.97 kB / 1.339 GB, free: 5.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.3939, allocations: 80.47 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.395, allocations: 0.6227 MB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.395, allocations: 28.88 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.3951, allocations: 44.33 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.3957, allocations: 374 kB / 1.34 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3957, allocations: 4 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.3957, allocations: 8 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3958, allocations: 11.98 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.3962, allocations: 237.5 kB / 1.34 GB, free: 3.766 MB / 1.029 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.003453/0.3996, allocations: 1.745 MB / 1.342 GB, free: 1.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4007, allocations: 386.5 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.401, allocations: 128.8 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.401, allocations: 4 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.401, allocations: 42.5 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.401, allocations: 3.938 kB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001089/0.4021, allocations: 472 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4022, allocations: 55.41 kB / 1.343 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.4036, allocations: 0.9298 MB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.4037, allocations: 37.7 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.404, allocations: 312.7 kB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.4041, allocations: 67.38 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.4043, allocations: 126.3 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003106/0.4046, allocations: 382.8 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.405, allocations: 241 kB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.4057, allocations: 0.5021 MB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4067, allocations: 0.7092 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.4067, allocations: 3.938 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001353/0.408, allocations: 0.8124 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4081, allocations: 12 kB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4081, allocations: 8.062 kB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.4083, allocations: 56.83 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.4088, allocations: 139.8 kB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.4102, allocations: 1.412 MB / 1.348 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.4109, allocations: 127.5 kB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4109, allocations: 28 kB / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004793/0.4114, allocations: 341.9 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4115, allocations: 63.58 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.4116, allocations: 69.8 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4116, allocations: 4 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4116, allocations: 0 / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/0.4117, allocations: 3.984 kB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.4123, allocations: 428.9 kB / 1.349 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4123, allocations: 4 kB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4125, allocations: 51.95 kB / 1.349 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.4126, allocations: 44.75 kB / 1.349 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4126, allocations: 8 kB / 1.349 GB, free: 9.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.4138, allocations: 1.397 MB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4138, allocations: 0 / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.4146, allocations: 0.5721 MB / 1.351 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.4149, allocations: 127.5 kB / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.415, allocations: 15.92 kB / 1.351 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.4154, allocations: 47.92 kB / 1.351 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.4154, allocations: 7.984 kB / 1.351 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4155, allocations: 11.98 kB / 1.351 GB, free: 7.227 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001001/0.4165, allocations: 0.6552 MB / 1.352 GB, free: 6.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4165, allocations: 0 / 1.352 GB, free: 6.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006606/0.4171, allocations: 179.9 kB / 1.352 GB, free: 6.398 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.4172, allocations: 111.2 kB / 1.352 GB, free: 6.281 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009381/0.4182, allocations: 0.5664 MB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4182, allocations: 0 / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.4186, allocations: 250.5 kB / 1.353 GB, free: 5.445 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.4195, allocations: 173.2 kB / 1.353 GB, free: 5.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.4218, allocations: 1.572 MB / 1.355 GB, free: 3.676 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.4223, allocations: 412.7 kB / 1.355 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4224, allocations: 35.44 kB / 1.355 GB, free: 3.211 MB / 1.045 GB Notification: Performance of SimCode: time 6.32e-07/0.4224, allocations: 0 / 1.355 GB, free: 3.211 MB / 1.045 GB Notification: Performance of Templates: time 0.01816/0.4406, allocations: 12.59 MB / 1.368 GB, free: 6.656 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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: 12.839028811082244]