Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0007735/0.0007735, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001825, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006664/0.0006664, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001741, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8848/0.8848, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08197/0.9668, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.894/1.894, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4931/2.387, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.45e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004495/0.004519, allocations: 2.826 MB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.008845, allocations: 2.821 MB / 0.7351 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.009243, allocations: 11.88 kB / 0.7351 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.01072, allocations: 0.5082 MB / 0.7356 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.01149, allocations: 305.6 kB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.01255, allocations: 401.5 kB / 0.7363 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01436, allocations: 1.486 MB / 0.7378 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.01456, allocations: 70.41 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.01591, allocations: 0.7913 MB / 0.7386 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007521/0.01666, allocations: 408.1 kB / 0.739 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.0168, allocations: 44.53 kB / 0.739 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.01703, allocations: 59.94 kB / 0.7391 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.01731, allocations: 268.9 kB / 0.7394 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.01761, allocations: 203.6 kB / 0.7395 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.01839, allocations: 0.5762 MB / 0.7401 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.0184, allocations: 0 / 0.7401 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/0.0184, allocations: 1.219 kB / 0.7401 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.939e-05/0.01843, allocations: 0 / 0.7401 GB, free: 9.734 MB / 0.7136 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.001776/0.02021, allocations: 1.067 MB / 0.7411 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.02025, allocations: 8.844 kB / 0.7412 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.02052, allocations: 150 kB / 0.7413 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.02125, allocations: 462.8 kB / 0.7417 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.02128, allocations: 24.88 kB / 0.7418 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.02135, allocations: 44.33 kB / 0.7418 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.0217, allocations: 230.7 kB / 0.742 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.02171, allocations: 4.188 kB / 0.742 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.02174, allocations: 12.12 kB / 0.742 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.02175, allocations: 12 kB / 0.7421 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.02188, allocations: 73.55 kB / 0.7421 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.02343, allocations: 1.103 MB / 0.7432 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.02403, allocations: 263.5 kB / 0.7435 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.02411, allocations: 46.67 kB / 0.7435 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.02412, allocations: 4 kB / 0.7435 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.02415, allocations: 42.5 kB / 0.7435 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.424e-06/0.02416, allocations: 0 / 0.7435 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004738/0.02463, allocations: 180.1 kB / 0.7437 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.02467, allocations: 51.41 kB / 0.7438 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.02526, allocations: 0.5623 MB / 0.7443 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.02529, allocations: 33.7 kB / 0.7443 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.02544, allocations: 230 kB / 0.7446 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.02558, allocations: 73.72 kB / 0.7446 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.02572, allocations: 118.2 kB / 0.7447 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.02586, allocations: 378.6 kB / 0.7451 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.02597, allocations: 60.11 kB / 0.7452 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.02621, allocations: 314.5 kB / 0.7455 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.02665, allocations: 447.9 kB / 0.7459 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.02666, allocations: 0 / 0.7459 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006081/0.02727, allocations: 382.1 kB / 0.7463 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.02729, allocations: 12 kB / 0.7463 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.0273, allocations: 8.75 kB / 0.7463 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.02753, allocations: 49.83 kB / 0.7463 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.02799, allocations: 166.4 kB / 0.7465 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/0.02886, allocations: 1.204 MB / 0.7477 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.0293, allocations: 70.31 kB / 0.7477 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.02933, allocations: 24 kB / 0.7477 GB, free: 1.367 MB / 0.7136 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.0001649/0.0295, allocations: 148.4 kB / 0.7479 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.02972, allocations: 39.95 kB / 0.7479 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.0298, allocations: 57.86 kB / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02981, allocations: 0 / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02981, allocations: 0.6562 kB / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.02982, allocations: 0 / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.03021, allocations: 266.2 kB / 0.7482 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.03021, allocations: 0 / 0.7482 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.03046, allocations: 79.53 kB / 0.7483 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.03063, allocations: 84.5 kB / 0.7484 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.03077, allocations: 28.44 kB / 0.7484 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.0308, allocations: 13.73 kB / 0.7484 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.03159, allocations: 1.251 MB / 0.7497 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0316, allocations: 0.5312 kB / 0.7497 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.03197, allocations: 330 kB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.03204, allocations: 4 kB / 0.75 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.03225, allocations: 7.984 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.03229, allocations: 9.484 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.03231, allocations: 8 kB / 0.75 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003323/0.03264, allocations: 264.6 kB / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/0.03264, allocations: 0 / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005736/0.03321, allocations: 183.8 kB / 0.7504 GB, free: 14.48 MB / 0.7292 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.0001379/0.03335, allocations: 94.48 kB / 0.7505 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.03383, allocations: 319.4 kB / 0.7508 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/0.03385, allocations: 7.938 kB / 0.7508 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.03403, allocations: 183.5 kB / 0.751 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.03521, allocations: 1.516 MB / 0.7525 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.04108, allocations: 1.063 MB / 0.7535 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.04126, allocations: 181.9 kB / 0.7537 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.04159, allocations: 69.09 kB / 0.7538 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.04198, allocations: 177.3 kB / 0.7539 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/0.04199, allocations: 0 / 0.7539 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.01693/0.05892, allocations: 10.35 MB / 0.764 GB, free: 500 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.912969844415784]