Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001404/0.001404, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001651/0.001651, allocations: 210.8 kB / 23.03 MB, free: 4.867 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [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.001984/0.001984, allocations: 66.23 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3845, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004248/0.3888, allocations: 2.601 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.3931, allocations: 2.613 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.3933, allocations: 7.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3948, allocations: 486.1 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.3955, allocations: 306.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.3965, allocations: 401.1 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.3985, allocations: 1.587 MB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.3986, allocations: 67.05 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.3993, allocations: 486.8 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.4, allocations: 434.5 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.4001, allocations: 48 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.4003, allocations: 67.98 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.4006, allocations: 295.1 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.4009, allocations: 298.6 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.4019, allocations: 0.9341 MB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4019, allocations: 0 / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.577e-06/0.4019, allocations: 4 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.402, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 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.002126/0.4041, allocations: 1.103 MB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4041, allocations: 8.031 kB / 1.339 GB, free: 5.246 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.4043, allocations: 84.47 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4054, allocations: 0.6227 MB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4054, allocations: 24.88 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.4055, allocations: 52.33 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.4061, allocations: 378 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4061, allocations: 0 / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.4061, allocations: 8 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4061, allocations: 8 kB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.4065, allocations: 237.5 kB / 1.34 GB, free: 3.805 MB / 1.029 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.003236/0.4098, allocations: 1.757 MB / 1.342 GB, free: 1.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.4107, allocations: 378.5 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.411, allocations: 128.7 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.411, allocations: 4 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.411, allocations: 42.5 kB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.411, allocations: 0 / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009487/0.412, allocations: 464.1 kB / 1.343 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.412, allocations: 59.39 kB / 1.343 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.4132, allocations: 0.9297 MB / 1.344 GB, free: 15.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.4133, allocations: 37.7 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.4135, allocations: 312.7 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-05/0.4136, allocations: 75.36 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4138, allocations: 126.3 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.414, allocations: 386.8 kB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.4143, allocations: 237.1 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.4149, allocations: 0.5059 MB / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.4158, allocations: 0.6888 MB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4158, allocations: 7.938 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001219/0.417, allocations: 0.8159 MB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.417, allocations: 12 kB / 1.347 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.417, allocations: 8 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.4172, allocations: 56.81 kB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.4177, allocations: 143.7 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.4191, allocations: 1.416 MB / 1.348 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.4197, allocations: 131.5 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.4198, allocations: 28 kB / 1.348 GB, free: 10.61 MB / 1.045 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.0003882/0.4201, allocations: 338 kB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.4202, allocations: 63.58 kB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4204, allocations: 69.8 kB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4204, allocations: 4 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4204, allocations: 0 / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4204, allocations: 0 / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.4209, allocations: 432.9 kB / 1.349 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4209, allocations: 4 kB / 1.349 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4212, allocations: 55.89 kB / 1.349 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.4213, allocations: 36.83 kB / 1.349 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.4213, allocations: 11.98 kB / 1.349 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.4225, allocations: 1.393 MB / 1.351 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4225, allocations: 0 / 1.351 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.4233, allocations: 0.5715 MB / 1.351 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.4235, allocations: 135.5 kB / 1.351 GB, free: 7.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.4236, allocations: 8 kB / 1.351 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.424, allocations: 43.92 kB / 1.351 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.424, allocations: 15.97 kB / 1.351 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4241, allocations: 4 kB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008616/0.4249, allocations: 0.6552 MB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4249, allocations: 7.938 kB / 1.352 GB, free: 6.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000647/0.4256, allocations: 183.9 kB / 1.352 GB, free: 6.43 MB / 1.045 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.0001405/0.4257, allocations: 103.2 kB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009379/0.4266, allocations: 0.5719 MB / 1.353 GB, free: 5.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4266, allocations: 0 / 1.353 GB, free: 5.738 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.427, allocations: 244.6 kB / 1.353 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.4278, allocations: 172.6 kB / 1.353 GB, free: 5.324 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4302, allocations: 1.578 MB / 1.355 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4306, allocations: 412.7 kB / 1.355 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4307, allocations: 35.44 kB / 1.355 GB, free: 3.246 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.4307, allocations: 0 / 1.355 GB, free: 3.246 MB / 1.045 GB Notification: Performance of Templates: time 0.01724/0.448, allocations: 12.59 MB / 1.368 GB, free: 6.688 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 12.509599251905456]