Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.0007894/0.0007894, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00115/0.00194, 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.000764/0.000764, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001888, 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 1.045/1.045, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.149, allocations: 53.67 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.837/1.837, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5111/2.348, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.841e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004571/0.004599, allocations: 2.834 MB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.008461, allocations: 2.822 MB / 0.7351 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.008646, allocations: 11.88 kB / 0.7352 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.00984, allocations: 0.5038 MB / 0.7357 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.01037, allocations: 309.8 kB / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.01107, allocations: 386.2 kB / 0.7363 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.01252, allocations: 1.499 MB / 0.7378 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.01269, allocations: 67.45 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008974/0.01358, allocations: 0.7868 MB / 0.7386 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.01412, allocations: 407.7 kB / 0.739 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.114e-05/0.0142, allocations: 49.78 kB / 0.739 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.01437, allocations: 63.94 kB / 0.7391 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.01463, allocations: 267.4 kB / 0.7394 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.01487, allocations: 203.6 kB / 0.7396 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.0155, allocations: 0.5735 MB / 0.7401 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.01551, allocations: 0 / 0.7401 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01551, allocations: 0 / 0.7401 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.01553, allocations: 3.938 kB / 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.001483/0.01701, allocations: 1.067 MB / 0.7412 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01705, allocations: 11.25 kB / 0.7412 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.01728, allocations: 154 kB / 0.7413 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.0179, allocations: 445.5 kB / 0.7417 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.01793, allocations: 36.86 kB / 0.7418 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.01799, allocations: 40.33 kB / 0.7418 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.01831, allocations: 233.4 kB / 0.742 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01832, allocations: 192 / 0.742 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.01835, allocations: 16.12 kB / 0.7421 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01836, allocations: 9.094 kB / 0.7421 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.01849, allocations: 75.11 kB / 0.7421 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.01986, allocations: 1.102 MB / 0.7432 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.02043, allocations: 270.8 kB / 0.7435 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.081e-05/0.0205, allocations: 36.84 kB / 0.7435 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.02051, allocations: 5.531 kB / 0.7435 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.02053, allocations: 34.56 kB / 0.7435 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.02053, allocations: 3.938 kB / 0.7435 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004228/0.02096, allocations: 183.1 kB / 0.7437 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.02099, allocations: 55.41 kB / 0.7438 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.02155, allocations: 0.5641 MB / 0.7443 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.02158, allocations: 37.7 kB / 0.7444 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.02173, allocations: 226 kB / 0.7446 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.02179, allocations: 75.36 kB / 0.7447 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.02192, allocations: 110.3 kB / 0.7448 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.02205, allocations: 375.3 kB / 0.7451 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.02217, allocations: 68.05 kB / 0.7452 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.02242, allocations: 315.1 kB / 0.7455 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.02284, allocations: 449.5 kB / 0.7459 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.02285, allocations: 4 kB / 0.7459 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005617/0.02341, allocations: 379.5 kB / 0.7463 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.02343, allocations: 10.81 kB / 0.7463 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.02344, allocations: 12 kB / 0.7463 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.02365, allocations: 43.66 kB / 0.7463 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.0241, allocations: 159.9 kB / 0.7465 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007869/0.02489, allocations: 1.2 MB / 0.7477 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.02528, allocations: 75.38 kB / 0.7477 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.02531, allocations: 26.75 kB / 0.7478 GB, free: 1.371 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.0001478/0.02546, allocations: 152.4 kB / 0.7479 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.02554, allocations: 39.95 kB / 0.7479 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.686e-05/0.02561, allocations: 53.86 kB / 0.748 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.02562, allocations: 4 kB / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02562, allocations: 0 / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02562, allocations: 1.375 kB / 0.748 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.02598, allocations: 265.5 kB / 0.7483 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02598, allocations: 0 / 0.7483 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.02622, allocations: 76.89 kB / 0.7483 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.02638, allocations: 84.44 kB / 0.7484 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.02651, allocations: 28.72 kB / 0.7484 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.02653, allocations: 8.578 kB / 0.7484 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007464/0.02728, allocations: 1.257 MB / 0.7497 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02728, allocations: 0 / 0.7497 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.02798, allocations: 323.9 kB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.0281, allocations: 8 kB / 0.75 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.02837, allocations: 12.95 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.02841, allocations: 7.984 kB / 0.75 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.02842, allocations: 11.98 kB / 0.75 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002674/0.02869, allocations: 265.6 kB / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02869, allocations: 0 / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000443/0.02913, 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.0001339/0.02927, allocations: 87.14 kB / 0.7505 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.02971, allocations: 314.9 kB / 0.7508 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.02973, allocations: 8 kB / 0.7508 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.02988, allocations: 191.1 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.0009839/0.03086, allocations: 1.521 MB / 0.7525 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.03501, allocations: 1.068 MB / 0.7535 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.03513, allocations: 181.2 kB / 0.7537 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001894/0.03532, allocations: 64.92 kB / 0.7538 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.0356, allocations: 173.3 kB / 0.7539 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.03561, allocations: 1.594 kB / 0.7539 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.01327/0.04888, allocations: 10.35 MB / 0.7641 GB, free: 496 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.032578535377979]