Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0007558/0.0007558, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001802, 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.0006929/0.0006929, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008861/0.001579, 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.9769/0.9769, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09039/1.067, 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.831/1.831, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5158/2.346, 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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.624e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.0057/0.005727, allocations: 3.806 MB / 0.7334 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004938/0.01066, allocations: 2.563 MB / 0.7359 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.01133, allocations: 19.81 kB / 0.7359 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.01213, allocations: 251.2 kB / 0.7361 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.0138, allocations: 0.5587 MB / 0.7367 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.01531, allocations: 0.5336 MB / 0.7372 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.01719, allocations: 1.41 MB / 0.7386 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.0174, allocations: 111.5 kB / 0.7387 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.01823, allocations: 0.7905 MB / 0.7394 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.01869, allocations: 416.6 kB / 0.7398 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.01875, allocations: 52 kB / 0.7399 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.01891, allocations: 71.94 kB / 0.74 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.01917, allocations: 363.8 kB / 0.7403 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.01937, allocations: 267.4 kB / 0.7406 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.01991, allocations: 0.6194 MB / 0.7412 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.01992, allocations: 0 / 0.7412 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01993, allocations: 0 / 0.7412 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.01994, allocations: 1.188 kB / 0.7412 GB, free: 8.664 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001387/0.02133, allocations: 1.34 MB / 0.7425 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.02136, allocations: 8.031 kB / 0.7425 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.0216, allocations: 181.9 kB / 0.7427 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.02212, allocations: 0.497 MB / 0.7431 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.02215, allocations: 37.03 kB / 0.7432 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.02221, allocations: 62.8 kB / 0.7432 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.0225, allocations: 290.3 kB / 0.7435 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.02251, allocations: 192 / 0.7435 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.02254, allocations: 15.94 kB / 0.7435 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.02255, allocations: 12 kB / 0.7435 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.02265, allocations: 101.7 kB / 0.7436 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.02392, allocations: 1.405 MB / 0.745 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.02452, allocations: 437.4 kB / 0.7454 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.02459, allocations: 59.27 kB / 0.7455 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.02461, allocations: 8 kB / 0.7455 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.02463, allocations: 34.56 kB / 0.7455 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.02463, allocations: 0 / 0.7455 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0005715/0.0252, allocations: 345 kB / 0.7459 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.02523, allocations: 59.34 kB / 0.7459 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.02577, allocations: 0.7032 MB / 0.7466 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.0258, allocations: 41.7 kB / 0.7466 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.02593, allocations: 283.7 kB / 0.7469 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.02599, allocations: 123.8 kB / 0.747 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02611, allocations: 162.5 kB / 0.7472 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.02622, allocations: 402.5 kB / 0.7476 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.0263, allocations: 73.33 kB / 0.7476 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.02655, allocations: 479.1 kB / 0.7481 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.02699, allocations: 0.6362 MB / 0.7487 GB, free: 348 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.027, allocations: 5.969 kB / 0.7487 GB, free: 344 kB / 0.7136 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005884/0.02759, allocations: 0.58 MB / 0.7493 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.02776, allocations: 8 kB / 0.7493 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.02777, allocations: 16 kB / 0.7493 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.02805, allocations: 123.2 kB / 0.7494 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.02846, allocations: 240 kB / 0.7497 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.03007, allocations: 3.692 MB / 0.7533 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.03044, allocations: 100.2 kB / 0.7534 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.03047, allocations: 36 kB / 0.7534 GB, free: 11.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.0306, allocations: 170.1 kB / 0.7536 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.03066, allocations: 51.94 kB / 0.7536 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.03073, allocations: 73.23 kB / 0.7537 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.03073, allocations: 4 kB / 0.7537 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.03074, allocations: 5 kB / 0.7537 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.03074, allocations: 7.922 kB / 0.7537 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.03102, allocations: 309.3 kB / 0.754 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.03103, allocations: 1.188 kB / 0.754 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.03124, allocations: 92.08 kB / 0.7541 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.03137, allocations: 99.34 kB / 0.7542 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.03159, allocations: 103.2 kB / 0.7543 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.03161, allocations: 15.92 kB / 0.7543 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.03325, allocations: 3.699 MB / 0.7579 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03325, allocations: 1 kB / 0.7579 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.03362, allocations: 447.4 kB / 0.7583 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.03367, allocations: 11.98 kB / 0.7583 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.03385, allocations: 8 kB / 0.7583 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.03391, allocations: 31.88 kB / 0.7584 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.03392, allocations: 9.062 kB / 0.7584 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002591/0.03418, allocations: 344.5 kB / 0.7587 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.03418, allocations: 0.5625 kB / 0.7587 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004729/0.03465, allocations: 267.8 kB / 0.759 GB, free: 5.199 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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 9.76e-05/0.03475, allocations: 94.7 kB / 0.7591 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.03526, allocations: 0.6623 MB / 0.7597 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.03528, allocations: 12 kB / 0.7597 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.03554, allocations: 466.1 kB / 0.7602 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009161/0.03646, allocations: 1.706 MB / 0.7618 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.04232, allocations: 1.284 MB / 0.7631 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.04244, allocations: 190.1 kB / 0.7633 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.04262, allocations: 87.84 kB / 0.7633 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.04292, allocations: 222.1 kB / 0.7636 GB, free: 48 kB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.04292, allocations: 0 / 0.7636 GB, free: 48 kB / 0.7292 GB Notification: Performance of Templates: time 0.01454/0.05746, allocations: 12.72 MB / 0.776 GB, free: 3.625 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.087901030667126]