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.001176/0.001176, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.002934, 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.001036/0.001036, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002389, 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.9391/0.9391, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08882/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.914/1.914, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4979/2.412, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.723e-06/1.723e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.079e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004375/0.004395, allocations: 2.841 MB / 0.7324 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004466/0.008862, allocations: 2.825 MB / 0.7352 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.009235, allocations: 13.12 kB / 0.7352 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.01076, allocations: 0.4996 MB / 0.7357 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007568/0.01152, allocations: 313.6 kB / 0.736 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.01271, allocations: 377.9 kB / 0.7363 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.015, allocations: 1.492 MB / 0.7378 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.01523, allocations: 74.34 kB / 0.7378 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.01637, allocations: 0.7906 MB / 0.7386 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.01704, allocations: 400.4 kB / 0.739 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.01714, allocations: 48 kB / 0.739 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01735, allocations: 69.16 kB / 0.7391 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002794/0.01762, allocations: 267.3 kB / 0.7394 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.0179, allocations: 199.6 kB / 0.7396 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.01862, allocations: 0.5812 MB / 0.7401 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.01863, allocations: 0 / 0.7401 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01863, allocations: 0 / 0.7401 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.218e-05/0.01865, allocations: 0.5312 kB / 0.7401 GB, free: 9.742 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.00171/0.02036, allocations: 1.06 MB / 0.7412 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.0204, allocations: 12.03 kB / 0.7412 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.02062, allocations: 151.7 kB / 0.7413 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.02115, allocations: 457 kB / 0.7418 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.02117, allocations: 28.88 kB / 0.7418 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.02122, allocations: 46.75 kB / 0.7418 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.02148, allocations: 229.5 kB / 0.742 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.02148, allocations: 192 / 0.742 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.0215, allocations: 16.12 kB / 0.7421 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.02151, allocations: 8 kB / 0.7421 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.0216, allocations: 73.05 kB / 0.7421 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.02262, allocations: 1.102 MB / 0.7432 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.02304, allocations: 278 kB / 0.7435 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.0231, allocations: 48.81 kB / 0.7435 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.02311, allocations: 4 kB / 0.7435 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.02313, allocations: 30.56 kB / 0.7436 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.02313, allocations: 0 / 0.7436 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000342/0.02347, allocations: 185.2 kB / 0.7437 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.02351, allocations: 55.41 kB / 0.7438 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.02394, allocations: 0.5584 MB / 0.7443 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.02397, allocations: 37.7 kB / 0.7444 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.02408, allocations: 226 kB / 0.7446 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.02412, allocations: 75.38 kB / 0.7447 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.02421, allocations: 115.7 kB / 0.7448 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.02432, allocations: 374.6 kB / 0.7451 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.0244, allocations: 64.12 kB / 0.7452 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.02458, allocations: 310.5 kB / 0.7455 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.02491, allocations: 444.8 kB / 0.7459 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.02491, allocations: 6.438 kB / 0.7459 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004033/0.02531, allocations: 388.3 kB / 0.7463 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02533, allocations: 8 kB / 0.7463 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.02534, allocations: 8 kB / 0.7463 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.02551, allocations: 42.94 kB / 0.7463 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.02584, allocations: 159.8 kB / 0.7465 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006555/0.0265, allocations: 1.202 MB / 0.7477 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.02682, allocations: 67.45 kB / 0.7477 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.02684, allocations: 24.62 kB / 0.7477 GB, free: 1.387 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.0001123/0.02695, allocations: 150.7 kB / 0.7479 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.027, allocations: 39.95 kB / 0.7479 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.02706, allocations: 57.86 kB / 0.748 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.02706, allocations: 4 kB / 0.748 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02706, allocations: 0 / 0.748 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02707, allocations: 8.547 kB / 0.748 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.02733, allocations: 266.6 kB / 0.7483 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02734, allocations: 0 / 0.7483 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.02751, allocations: 75.73 kB / 0.7483 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02762, allocations: 79.5 kB / 0.7484 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.02772, allocations: 33.19 kB / 0.7484 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02774, allocations: 8 kB / 0.7484 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007234/0.02846, allocations: 1.253 MB / 0.7497 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.02847, allocations: 4.844 kB / 0.7497 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.02871, allocations: 328.8 kB / 0.75 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.996e-05/0.02875, allocations: 8 kB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.02888, allocations: 4 kB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.02892, allocations: 15.97 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.02892, allocations: 1.031 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002154/0.02914, allocations: 272.5 kB / 0.7503 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02914, allocations: 1.531 kB / 0.7503 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00033/0.02947, allocations: 183.8 kB / 0.7504 GB, free: 14.49 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.0001023/0.02957, allocations: 93.75 kB / 0.7505 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.0299, allocations: 314.8 kB / 0.7508 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.0299, allocations: 8.625 kB / 0.7508 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.03003, allocations: 181 kB / 0.751 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.03088, allocations: 1.52 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.005855/0.03673, allocations: 1.06 MB / 0.7535 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.03688, allocations: 181.2 kB / 0.7537 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.03707, allocations: 68.55 kB / 0.7538 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.03741, allocations: 177.8 kB / 0.7539 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.03741, allocations: 3.938 kB / 0.7539 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.01432/0.05173, allocations: 10.34 MB / 0.764 GB, free: 500 kB / 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.052855469286442]