Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001594/0.001594, allocations: 221 kB / 23.01 MB, free: 4.609 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.306/1.306, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.907/2.907, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.ConductorMultiLayer3,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [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.001898/0.001898, allocations: 75.73 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003907/0.3029, allocations: 2.787 MB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.3067, allocations: 2.869 MB / 1.36 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3068, allocations: 11.88 kB / 1.36 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.3081, allocations: 0.502 MB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.3086, allocations: 311.5 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.3094, allocations: 407.9 kB / 1.361 GB, free: 1.047 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.3112, allocations: 1.578 MB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3114, allocations: 74.41 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.312, allocations: 486.8 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005962/0.3126, allocations: 434.5 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.3127, allocations: 44 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3128, allocations: 64 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.3131, allocations: 291.2 kB / 1.364 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.3134, allocations: 366.2 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.3143, allocations: 0.9263 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3143, allocations: 0 / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3143, allocations: 3.938 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3143, allocations: 7.938 kB / 1.365 GB, free: 12.79 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001982/0.3163, allocations: 1.104 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.3164, allocations: 8.031 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3166, allocations: 84.42 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.3176, allocations: 0.6266 MB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3176, allocations: 28.88 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.3177, allocations: 40.31 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.3182, allocations: 378 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3182, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.3183, allocations: 12 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3183, allocations: 8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.3186, allocations: 237.4 kB / 1.367 GB, free: 10.2 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.003496/0.3221, allocations: 2.432 MB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.3231, allocations: 378.5 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3233, allocations: 132.7 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3233, allocations: 4 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3233, allocations: 42.48 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3233, allocations: 4 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008893/0.3242, allocations: 471.9 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3243, allocations: 51.41 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3254, allocations: 0.9415 MB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.3254, allocations: 29.7 kB / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.3257, allocations: 308.8 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.3258, allocations: 75.38 kB / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3259, allocations: 122.3 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3261, allocations: 382.7 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.3265, allocations: 245 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.327, allocations: 0.5021 MB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.3279, allocations: 0.7052 MB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3279, allocations: 4 kB / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001216/0.3291, allocations: 0.8118 MB / 1.375 GB, free: 2.082 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3291, allocations: 12.03 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3291, allocations: 12 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.3293, allocations: 48.83 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.3298, allocations: 143.7 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.331, allocations: 1.435 MB / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.3316, allocations: 123.4 kB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.3316, allocations: 32.16 kB / 1.377 GB, free: 168 kB / 1.061 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.0003535/0.332, allocations: 342.7 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.3321, allocations: 67.52 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.3322, allocations: 65.94 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3322, allocations: 4 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3322, allocations: 0 / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3322, allocations: 3.984 kB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.3328, allocations: 0.5548 MB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3328, allocations: 4 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.3331, allocations: 55.78 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.3332, allocations: 44.81 kB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3332, allocations: 4 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3343, allocations: 1.431 MB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3343, allocations: 0 / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.3351, allocations: 0.5661 MB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.3353, allocations: 135.5 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.3354, allocations: 8 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.3358, allocations: 55.84 kB / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3358, allocations: 11.92 kB / 1.38 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3358, allocations: 8 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008144/0.3367, allocations: 0.6668 MB / 1.38 GB, free: 11.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3367, allocations: 0 / 1.38 GB, free: 11.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005528/0.3372, allocations: 179.9 kB / 1.381 GB, free: 11.78 MB / 1.076 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.0001172/0.3373, allocations: 107.2 kB / 1.381 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008215/0.3382, allocations: 0.5603 MB / 1.381 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3382, allocations: 0 / 1.381 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.3385, allocations: 246.9 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.3392, allocations: 171.7 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.3413, allocations: 1.582 MB / 1.383 GB, free: 9.059 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.3419, allocations: 1.003 MB / 1.384 GB, free: 8.027 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.342, allocations: 39.44 kB / 1.384 GB, free: 7.988 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.342, allocations: 0 / 1.384 GB, free: 7.988 MB / 1.076 GB Notification: Performance of Templates: time 0.01475/0.3568, allocations: 12.43 MB / 1.396 GB, free: 11.6 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.361587430990767]