Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001436/0.001436, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001578/0.001578, allocations: 215.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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.318/1.318, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.943/2.943, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|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.ConductorSingleLayer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.02 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005002/0.2987, allocations: 3.791 MB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.3025, allocations: 2.587 MB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.3027, allocations: 19.81 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.3034, allocations: 258.4 kB / 1.361 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.3043, allocations: 0.5405 MB / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3055, allocations: 0.5574 MB / 1.362 GB, free: 192 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.3069, allocations: 1.394 MB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3071, allocations: 105.7 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.3076, allocations: 454.5 kB / 1.364 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/0.3083, allocations: 0.5098 MB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.3084, allocations: 52 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3085, allocations: 75.98 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.3089, allocations: 374.9 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.3093, allocations: 461.5 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.3102, allocations: 0.9257 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3102, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3102, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3102, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 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.002116/0.3123, allocations: 1.224 MB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3124, allocations: 8.031 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.3126, allocations: 116.3 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3137, allocations: 0.6065 MB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.3137, allocations: 41.03 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.3138, allocations: 52.38 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.3144, allocations: 402.9 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3144, allocations: 7.938 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3144, allocations: 16 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3144, allocations: 8 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.3148, allocations: 222.4 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.3176, allocations: 2.467 MB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3188, allocations: 471.1 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.3191, allocations: 142.4 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3191, allocations: 4.234 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3191, allocations: 34.8 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/0.3191, allocations: 0 / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001821/0.3209, allocations: 1.075 MB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.321, allocations: 51.41 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3221, allocations: 0.931 MB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3221, allocations: 37.7 kB / 1.374 GB, free: 3.594 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3224, allocations: 381.1 kB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3225, allocations: 115 kB / 1.374 GB, free: 3.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.3227, allocations: 170.6 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3229, allocations: 390.8 kB / 1.375 GB, free: 2.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.3232, allocations: 229.8 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.3239, allocations: 0.6196 MB / 1.375 GB, free: 1.508 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.3267, allocations: 1.613 MB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3267, allocations: 4 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001323/0.328, allocations: 0.912 MB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.328, allocations: 9.719 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.328, allocations: 16 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.3282, allocations: 52.77 kB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.3288, allocations: 203.7 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.3299, allocations: 1.369 MB / 1.379 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.3306, allocations: 48.12 kB / 1.379 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.3306, allocations: 36 kB / 1.38 GB, free: 12.93 MB / 1.076 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0003265/0.3309, allocations: 303.7 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3311, allocations: 83.44 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.3312, allocations: 84.45 kB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3312, allocations: 4 kB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3312, allocations: 4 kB / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3312, allocations: 0 / 1.38 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3328, allocations: 1.126 MB / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3328, allocations: 128 / 1.381 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.3332, allocations: 83.88 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.851e-05/0.3333, allocations: 28.84 kB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3333, allocations: 11.98 kB / 1.381 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.3343, allocations: 1.334 MB / 1.382 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3343, allocations: 4.031 kB / 1.382 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000852/0.3351, allocations: 0.6593 MB / 1.383 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.3354, allocations: 123.4 kB / 1.383 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.3355, allocations: 11.98 kB / 1.383 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.3359, allocations: 23.98 kB / 1.383 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.336, allocations: 23.95 kB / 1.383 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.336, allocations: 7.938 kB / 1.383 GB, free: 8.805 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007906/0.3368, allocations: 0.6278 MB / 1.384 GB, free: 8.184 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3368, allocations: 0 / 1.384 GB, free: 8.184 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006394/0.3374, allocations: 208 kB / 1.384 GB, free: 7.98 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001203/0.3375, allocations: 111.1 kB / 1.384 GB, free: 7.863 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.3385, allocations: 0.6343 MB / 1.385 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3385, allocations: 0 / 1.385 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3389, allocations: 263 kB / 1.385 GB, free: 6.949 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.3397, allocations: 177.5 kB / 1.385 GB, free: 6.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3419, allocations: 1.692 MB / 1.387 GB, free: 5.027 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.3425, allocations: 0.9799 MB / 1.388 GB, free: 4.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3427, allocations: 55.44 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3427, allocations: 4 kB / 1.388 GB, free: 3.961 MB / 1.076 GB Notification: Performance of Templates: time 0.01495/0.3576, allocations: 12.25 MB / 1.4 GB, free: 7.75 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.443023807980353]