Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006993/0.006993, allocations: 101.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 194.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.84 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8962, allocations: 157.4 MB / 1.208 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003946/0.9002, allocations: 2.751 MB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003856/0.9041, allocations: 2.772 MB / 1.213 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.9043, allocations: 11.94 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.9056, allocations: 499.9 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.9061, allocations: 250.9 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.907, allocations: 397.9 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.9085, allocations: 1.54 MB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.9087, allocations: 138.3 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.9093, allocations: 474.8 kB / 1.216 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.9098, allocations: 382.6 kB / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.9099, allocations: 48 kB / 1.217 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.91, allocations: 59.94 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.9102, allocations: 275.2 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.9105, allocations: 374.2 kB / 1.217 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.9113, allocations: 0.9073 MB / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.9113, allocations: 0 / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.001e-06/0.9113, allocations: 0 / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.9113, allocations: 0 / 1.218 GB, free: 2.652 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.001952/0.9133, allocations: 1.152 MB / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9133, allocations: 12.03 kB / 1.219 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.9134, allocations: 80 kB / 1.219 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.9145, allocations: 0.6682 MB / 1.22 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.9145, allocations: 28.94 kB / 1.22 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.9146, allocations: 44.38 kB / 1.22 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.9151, allocations: 374.8 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9152, allocations: 0 / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.9152, allocations: 8 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9152, allocations: 4 kB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.9156, allocations: 245.6 kB / 1.221 GB, free: 15.93 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.003347/0.9189, allocations: 2.443 MB / 1.223 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.9199, allocations: 410.3 kB / 1.224 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.9201, allocations: 140.7 kB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.9202, allocations: 0 / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.9202, allocations: 34.56 kB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.9202, allocations: 0 / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008863/0.9211, allocations: 0.5319 MB / 1.224 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.9211, allocations: 59.39 kB / 1.224 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.9222, allocations: 0.9414 MB / 1.225 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.9222, allocations: 29.7 kB / 1.225 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.9224, allocations: 300.5 kB / 1.226 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.9225, allocations: 71.02 kB / 1.226 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.9226, allocations: 122.2 kB / 1.226 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9228, allocations: 382.7 kB / 1.226 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.9231, allocations: 236.9 kB / 1.226 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.9236, allocations: 0.5091 MB / 1.227 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.9244, allocations: 0.7005 MB / 1.228 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9244, allocations: 4 kB / 1.228 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001099/0.9255, allocations: 0.8121 MB / 1.228 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9255, allocations: 8 kB / 1.228 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.9255, allocations: 12 kB / 1.228 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.9257, allocations: 56.86 kB / 1.228 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.9262, allocations: 139.7 kB / 1.229 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.9273, allocations: 1.538 MB / 1.23 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.928, allocations: 127.2 kB / 1.23 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.9281, allocations: 28 kB / 1.23 GB, free: 5.652 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.0003346/0.9284, allocations: 349.4 kB / 1.23 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.9285, allocations: 63.19 kB / 1.231 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.9286, allocations: 66 kB / 1.231 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9286, allocations: 0 / 1.231 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9286, allocations: 4 kB / 1.231 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9286, allocations: 0 / 1.231 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.9292, allocations: 0.5752 MB / 1.231 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9292, allocations: 3.984 kB / 1.231 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.9295, allocations: 51.89 kB / 1.231 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.9296, allocations: 48.77 kB / 1.231 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.9297, allocations: 11.98 kB / 1.231 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.9307, allocations: 1.519 MB / 1.233 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9307, allocations: 7.922 kB / 1.233 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.9315, allocations: 0.5679 MB / 1.233 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.9318, allocations: 204.2 kB / 1.234 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.9319, allocations: 8 kB / 1.234 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.9323, allocations: 47.98 kB / 1.234 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.9323, allocations: 19.97 kB / 1.234 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9324, allocations: 0 / 1.234 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007908/0.9331, allocations: 0.6629 MB / 1.234 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9332, allocations: 0 / 1.234 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005664/0.9337, allocations: 179.8 kB / 1.234 GB, free: 1.039 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.0001304/0.9339, allocations: 111.2 kB / 1.235 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.9347, allocations: 0.5766 MB / 1.235 GB, free: 340 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9347, allocations: 1.938 kB / 1.235 GB, free: 340 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.9351, allocations: 246.5 kB / 1.235 GB, free: 80 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.9359, allocations: 173.1 kB / 1.235 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.9379, allocations: 1.514 MB / 1.237 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.9384, allocations: 1.01 MB / 1.238 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003538/0.9388, allocations: 176.5 kB / 1.238 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9389, allocations: 39.44 kB / 1.238 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.9389, allocations: 0 / 1.238 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.01447/0.9534, allocations: 8.65 MB / 1.247 GB, free: 4.586 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches