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.001406/0.001406, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001566/0.001566, allocations: 169 kB / 22.46 MB, free: 5.363 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.472/1.472, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.935/2.935, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.561e-05/3.819e-05, allocations: 5.797 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005065/0.005103, allocations: 2.592 MB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.01047, allocations: 2.611 MB / 0.9865 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.01096, allocations: 11.88 kB / 0.9865 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.01308, allocations: 497.9 kB / 0.9869 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009727/0.01405, allocations: 302.6 kB / 0.9872 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.0155, allocations: 415.9 kB / 0.9876 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.01785, allocations: 1.597 MB / 0.9892 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.01816, allocations: 78.34 kB / 0.9893 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.01982, allocations: 0.6044 MB / 0.9899 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.02063, allocations: 407.1 kB / 0.9902 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.02074, allocations: 52 kB / 0.9903 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.02093, allocations: 60 kB / 0.9903 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.02131, allocations: 307.1 kB / 0.9906 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.02167, allocations: 247.5 kB / 0.9909 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.02281, allocations: 0.9114 MB / 0.9918 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02281, allocations: 0 / 0.9918 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.02282, allocations: 0 / 0.9918 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.02283, allocations: 0 / 0.9918 GB, free: 1.336 MB / 0.9356 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.002542/0.02537, allocations: 1.098 MB / 0.9928 GB, free: 208 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.02541, allocations: 12.03 kB / 0.9929 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.0257, allocations: 84.42 kB / 0.9929 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.02686, allocations: 0.6296 MB / 0.9935 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.02702, allocations: 32.88 kB / 0.9936 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.02711, allocations: 36.38 kB / 0.9936 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.02775, allocations: 374.6 kB / 0.994 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.02777, allocations: 4.172 kB / 0.994 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.02781, allocations: 16.12 kB / 0.994 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.02782, allocations: 4 kB / 0.994 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.02825, allocations: 233.8 kB / 0.9942 GB, free: 14.75 MB / 0.9512 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.003752/0.032, allocations: 1.761 MB / 0.9959 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.03309, allocations: 378.5 kB / 0.9963 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.03332, allocations: 132.8 kB / 0.9964 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.03334, allocations: 4 kB / 0.9964 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.03337, allocations: 38.56 kB / 0.9965 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.03338, allocations: 0 / 0.9965 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0012/0.03458, allocations: 469.9 kB / 0.9969 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.03462, allocations: 55.39 kB / 0.997 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.036, allocations: 0.9298 MB / 0.9979 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.03604, allocations: 33.7 kB / 0.9979 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.03636, allocations: 312.7 kB / 0.9982 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.03646, allocations: 75.38 kB / 0.9983 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.03664, allocations: 118.3 kB / 0.9984 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.03687, allocations: 374.8 kB / 0.9987 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.03728, allocations: 249 kB / 0.999 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.03795, allocations: 0.4984 MB / 0.9995 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.03893, allocations: 0.7009 MB / 1 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.03893, allocations: 4 kB / 1 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001443/0.04038, allocations: 0.818 MB / 1.001 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.0404, allocations: 8 kB / 1.001 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.04041, allocations: 12.12 kB / 1.001 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.04065, allocations: 56.81 kB / 1.001 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.04116, allocations: 135.8 kB / 1.001 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.0427, allocations: 1.416 MB / 1.003 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.04349, allocations: 131.5 kB / 1.003 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.04354, allocations: 24 kB / 1.003 GB, free: 5.566 MB / 0.9512 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.0004609/0.044, allocations: 341.4 kB / 1.003 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.04411, allocations: 63.58 kB / 1.003 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.04423, allocations: 65.86 kB / 1.003 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.04424, allocations: 4 kB / 1.003 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.04424, allocations: 0 / 1.003 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.04425, allocations: 7.875 kB / 1.003 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.04488, allocations: 440.9 kB / 1.004 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.04488, allocations: 0 / 1.004 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.04515, allocations: 47.95 kB / 1.004 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.04529, allocations: 40.83 kB / 1.004 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.04532, allocations: 11.98 kB / 1.004 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.04671, allocations: 1.397 MB / 1.005 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04671, allocations: 0 / 1.005 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.04765, allocations: 0.57 MB / 1.006 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.04794, allocations: 131.5 kB / 1.006 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.04802, allocations: 11.98 kB / 1.006 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.04847, allocations: 47.92 kB / 1.006 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.04854, allocations: 11.97 kB / 1.006 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.04855, allocations: 4 kB / 1.006 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001033/0.04958, allocations: 0.6669 MB / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.04958, allocations: 0 / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007269/0.05031, allocations: 179.8 kB / 1.007 GB, free: 1.391 MB / 0.9512 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.0002283/0.05054, allocations: 107.2 kB / 1.007 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.05163, allocations: 0.5588 MB / 1.007 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.05164, allocations: 0 / 1.007 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.05202, allocations: 242.9 kB / 1.007 GB, free: 464 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.05292, allocations: 174.8 kB / 1.008 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.05541, allocations: 1.405 MB / 1.009 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.05597, allocations: 412.6 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005205/0.0565, allocations: 184.5 kB / 1.01 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.05663, allocations: 36.5 kB / 1.01 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of SimCode: time 1.253e-06/0.05664, allocations: 0 / 1.01 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.01822/0.07485, allocations: 8.777 MB / 1.018 GB, free: 5.629 MB / 0.9669 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/jenkins/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: 8.464839156717062]