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.0007526/0.0007526, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000969/0.001722, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007045/0.0007045, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008738/0.001578, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9478/0.9478, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/1.038, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.8/1.8, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5021/2.302, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.34e-05, allocations: 4 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003581/0.003605, allocations: 2.827 MB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.006819, allocations: 2.822 MB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.007111, allocations: 11.88 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.008237, allocations: 0.5081 MB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.008752, allocations: 309.8 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.009508, allocations: 389.2 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.01103, allocations: 1.485 MB / 0.7374 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.01118, allocations: 74.34 kB / 0.7375 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.01198, allocations: 0.7907 MB / 0.7383 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.0124, allocations: 400.6 kB / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.01246, allocations: 47.94 kB / 0.7387 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.0126, allocations: 67.92 kB / 0.7388 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.01284, allocations: 272 kB / 0.739 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.01311, allocations: 203.6 kB / 0.7392 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.01363, allocations: 0.5695 MB / 0.7398 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.01364, allocations: 0 / 0.7398 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01364, allocations: 0 / 0.7398 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.01366, allocations: 0.7188 kB / 0.7398 GB, free: 9.852 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.001107/0.01476, allocations: 1.068 MB / 0.7408 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.0148, allocations: 8.031 kB / 0.7408 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.01498, allocations: 150 kB / 0.741 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.01546, allocations: 461.5 kB / 0.7414 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.01548, allocations: 29.62 kB / 0.7415 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.01552, allocations: 44.33 kB / 0.7415 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.01577, allocations: 234 kB / 0.7417 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01578, allocations: 2.938 kB / 0.7417 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.0158, allocations: 20.11 kB / 0.7417 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.01581, allocations: 8 kB / 0.7417 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.0159, allocations: 66.23 kB / 0.7418 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.01697, allocations: 1.104 MB / 0.7429 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.0174, allocations: 272.9 kB / 0.7432 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.01745, allocations: 32.86 kB / 0.7432 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.01747, allocations: 5.531 kB / 0.7432 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.01749, allocations: 46.55 kB / 0.7432 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.375e-06/0.0175, allocations: 0 / 0.7432 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000353/0.01785, allocations: 187.1 kB / 0.7434 GB, free: 6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.01788, allocations: 51.41 kB / 0.7435 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.01829, allocations: 0.5623 MB / 0.744 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01831, allocations: 33.7 kB / 0.744 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.01844, allocations: 226 kB / 0.7443 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.01849, allocations: 71.38 kB / 0.7443 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.01858, allocations: 114.3 kB / 0.7444 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01873, allocations: 380.8 kB / 0.7448 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.0188, allocations: 56.12 kB / 0.7448 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.01898, allocations: 318.5 kB / 0.7452 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.01937, allocations: 441.4 kB / 0.7456 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01937, allocations: 4 kB / 0.7456 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003882/0.01976, allocations: 376.3 kB / 0.7459 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01978, allocations: 8 kB / 0.7459 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.01979, allocations: 8 kB / 0.746 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.01996, allocations: 48.31 kB / 0.746 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.02029, allocations: 161.2 kB / 0.7462 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/0.02112, allocations: 1.215 MB / 0.7473 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.02138, allocations: 71.44 kB / 0.7474 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.0214, allocations: 20 kB / 0.7474 GB, free: 1.5 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.0001252/0.02153, allocations: 152.4 kB / 0.7476 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.02158, allocations: 39.95 kB / 0.7476 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.02164, allocations: 59.83 kB / 0.7477 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02164, allocations: 0 / 0.7477 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.02165, allocations: 0 / 0.7477 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02165, allocations: 7.938 kB / 0.7477 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.02193, allocations: 265.5 kB / 0.7479 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02193, allocations: 5.047 kB / 0.7479 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.02211, allocations: 64.97 kB / 0.748 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.02223, allocations: 87.48 kB / 0.7481 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.02233, allocations: 26.33 kB / 0.7481 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.02235, allocations: 11.98 kB / 0.7481 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005964/0.02294, allocations: 1.248 MB / 0.7493 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02295, allocations: 0 / 0.7493 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.0232, allocations: 325.5 kB / 0.7496 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.02324, allocations: 11.98 kB / 0.7497 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.02337, allocations: 4.844 kB / 0.7497 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.02341, allocations: 11.97 kB / 0.7497 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.02342, allocations: 9.156 kB / 0.7497 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002188/0.02364, allocations: 264.6 kB / 0.7499 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02364, allocations: 0 / 0.7499 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003634/0.024, allocations: 184.5 kB / 0.7501 GB, free: 14.61 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.0001097/0.02411, allocations: 97.25 kB / 0.7502 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.02474, allocations: 306.4 kB / 0.7505 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.02475, allocations: 8 kB / 0.7505 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.02488, allocations: 178.8 kB / 0.7507 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.02536, allocations: 214.6 kB / 0.7509 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.02963, allocations: 1.079 MB / 0.7519 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.02975, allocations: 177.2 kB / 0.7521 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.02993, allocations: 68.41 kB / 0.7522 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.03019, allocations: 174.2 kB / 0.7523 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of SimCode: time 1.644e-06/0.03019, allocations: 0 / 0.7523 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.01267/0.04286, allocations: 10.14 MB / 0.7622 GB, free: 2.426 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.988200651481748]