Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008286/0.0008286, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002138, allocations: 440 kB / 10.41 MB, free: 284 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.0007907/0.0007907, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.0019, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9992/0.9992, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.084/1.083, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.542/2.542, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2494/2.792, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.084e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003696/0.003717, allocations: 3.805 MB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.006922, allocations: 2.572 MB / 0.8251 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.007238, allocations: 23.75 kB / 0.8252 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.007748, allocations: 242.3 kB / 0.8254 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008012/0.008549, allocations: 0.5597 MB / 0.8259 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.009638, allocations: 0.5336 MB / 0.8265 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.01086, allocations: 1.414 MB / 0.8278 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.01103, allocations: 94.38 kB / 0.8279 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.01194, allocations: 0.8022 MB / 0.8287 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.0124, allocations: 414.9 kB / 0.8291 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.01248, allocations: 56 kB / 0.8292 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.01262, allocations: 67.92 kB / 0.8292 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.01288, allocations: 375 kB / 0.8296 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.01309, allocations: 259.4 kB / 0.8298 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.0136, allocations: 0.6226 MB / 0.8304 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.01361, allocations: 0 / 0.8304 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.163e-06/0.01361, allocations: 0 / 0.8304 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.01363, allocations: 0 / 0.8304 GB, free: 6.637 MB / 0.8073 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.001394/0.01502, allocations: 1.343 MB / 0.8318 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.01506, allocations: 15.97 kB / 0.8318 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.0153, allocations: 173.9 kB / 0.8319 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.01583, allocations: 498.6 kB / 0.8324 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.01585, allocations: 37.03 kB / 0.8324 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.01591, allocations: 64.31 kB / 0.8325 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.01619, allocations: 294.3 kB / 0.8328 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.0162, allocations: 192 / 0.8328 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.01622, allocations: 19.94 kB / 0.8328 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01624, allocations: 16 kB / 0.8328 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.01634, allocations: 99.19 kB / 0.8329 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01774, allocations: 1.405 MB / 0.8343 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.01837, allocations: 424.9 kB / 0.8347 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.01843, allocations: 57.34 kB / 0.8347 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.01844, allocations: 8 kB / 0.8348 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01847, allocations: 46.55 kB / 0.8348 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.01847, allocations: 0 / 0.8348 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0005729/0.01904, allocations: 352.3 kB / 0.8351 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.01907, allocations: 51.41 kB / 0.8352 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.01954, allocations: 0.7104 MB / 0.8359 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.01956, allocations: 33.7 kB / 0.8359 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.01969, allocations: 287 kB / 0.8362 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.01976, allocations: 119 kB / 0.8363 GB, free: 404 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.01988, allocations: 158.5 kB / 0.8365 GB, free: 240 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.02, allocations: 406.5 kB / 0.8368 GB, free: 15.83 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.02009, allocations: 72.8 kB / 0.8369 GB, free: 15.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.02038, allocations: 470.5 kB / 0.8374 GB, free: 15.11 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.02094, allocations: 0.6443 MB / 0.838 GB, free: 14.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.02095, allocations: 4 kB / 0.838 GB, free: 14.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006305/0.02158, allocations: 0.5775 MB / 0.8386 GB, free: 13.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.02161, allocations: 12 kB / 0.8386 GB, free: 13.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.02162, allocations: 12 kB / 0.8386 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.02192, allocations: 127.3 kB / 0.8387 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.02237, allocations: 243.5 kB / 0.8389 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.02423, allocations: 3.69 MB / 0.8425 GB, free: 9.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.02465, allocations: 99.22 kB / 0.8426 GB, free: 9.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.02468, allocations: 36 kB / 0.8427 GB, free: 9.148 MB / 0.823 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.0001491/0.02483, allocations: 168.4 kB / 0.8428 GB, free: 8.973 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.0249, allocations: 55.94 kB / 0.8429 GB, free: 8.918 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.527e-05/0.02496, allocations: 72.42 kB / 0.8429 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02496, allocations: 4 kB / 0.8429 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.02497, allocations: 0 / 0.8429 GB, free: 8.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02498, allocations: 11.86 kB / 0.843 GB, free: 8.828 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.0253, allocations: 305.5 kB / 0.8433 GB, free: 8.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0253, allocations: 0 / 0.8433 GB, free: 8.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.02553, allocations: 102.5 kB / 0.8433 GB, free: 8.414 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.02567, allocations: 99.34 kB / 0.8434 GB, free: 8.316 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.0259, allocations: 110.9 kB / 0.8436 GB, free: 8.195 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.02592, allocations: 15.92 kB / 0.8436 GB, free: 8.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.02761, allocations: 3.69 MB / 0.8472 GB, free: 4.195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02761, allocations: 0 / 0.8472 GB, free: 4.195 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.02798, allocations: 452.6 kB / 0.8476 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.02803, allocations: 7.984 kB / 0.8476 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.02822, allocations: 8.188 kB / 0.8476 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.02827, allocations: 27.89 kB / 0.8476 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.02828, allocations: 11.97 kB / 0.8477 GB, free: 3.668 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002615/0.02854, allocations: 340.5 kB / 0.848 GB, free: 3.336 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.02854, allocations: 0 / 0.848 GB, free: 3.336 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005098/0.02905, allocations: 275.8 kB / 0.8482 GB, free: 3.066 MB / 0.823 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 0.0001108/0.02916, allocations: 96.34 kB / 0.8483 GB, free: 2.965 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.0297, allocations: 0.6595 MB / 0.849 GB, free: 2.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.02971, allocations: 8 kB / 0.849 GB, free: 2.262 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.02997, allocations: 465.8 kB / 0.8494 GB, free: 1.766 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.03091, allocations: 1.716 MB / 0.8511 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.03677, allocations: 1.267 MB / 0.8523 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.0369, allocations: 190.1 kB / 0.8525 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.03713, allocations: 97.84 kB / 0.8526 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.03746, allocations: 213.2 kB / 0.8528 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of SimCode: time 1.573e-06/0.03746, allocations: 0 / 0.8528 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.01497/0.05243, allocations: 12.73 MB / 0.8652 GB, free: 1.426 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2/Buildings_latest_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.6077913250774145]