Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00861/0.00861, allocations: 95.45 kB / 15.73 MB, free: 6.039 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.002072/0.002072, allocations: 205.1 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 63.89 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.329, allocations: 159.1 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004136/0.3331, allocations: 2.749 MB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004214/0.3373, allocations: 2.784 MB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.3377, allocations: 15.94 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.3391, allocations: 498.1 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.3398, allocations: 258.8 kB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3408, allocations: 406.7 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.3426, allocations: 1.528 MB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3428, allocations: 98.23 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.3436, allocations: 486.8 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.3442, allocations: 390.5 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.3443, allocations: 48 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3445, allocations: 48 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.3448, allocations: 279.2 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.3452, allocations: 374.2 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009146/0.3461, allocations: 0.9069 MB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3461, allocations: 0 / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3461, allocations: 0 / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.848e-05/0.3462, allocations: 0 / 1.231 GB, free: 3.02 MB / 0.9825 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.002264/0.3484, allocations: 1.171 MB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.3485, allocations: 8.031 kB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.3487, allocations: 80.42 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3498, allocations: 0.6881 MB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3498, allocations: 28.94 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.3499, allocations: 40.38 kB / 1.233 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3504, allocations: 374.9 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3505, allocations: 3.938 kB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.3505, allocations: 12 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3505, allocations: 4 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.3509, allocations: 233.5 kB / 1.234 GB, free: 292 kB / 0.9825 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.003646/0.3545, allocations: 2.447 MB / 1.236 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3556, allocations: 394.4 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3558, allocations: 128.8 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3558, allocations: 0 / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3559, allocations: 38.56 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.3559, allocations: 0 / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009819/0.3568, allocations: 0.5322 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3569, allocations: 55.41 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3581, allocations: 0.9415 MB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.3581, allocations: 37.7 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.3583, allocations: 300.8 kB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.3584, allocations: 79.36 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.3586, allocations: 122.2 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3588, allocations: 378.7 kB / 1.239 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.3591, allocations: 240.9 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.3596, allocations: 0.5052 MB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/0.3604, allocations: 0.6946 MB / 1.24 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3604, allocations: 4 kB / 1.24 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001238/0.3617, allocations: 0.816 MB / 1.241 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3617, allocations: 8 kB / 1.241 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3617, allocations: 12 kB / 1.241 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.3619, allocations: 60.73 kB / 1.241 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.3624, allocations: 139.8 kB / 1.241 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3636, allocations: 1.539 MB / 1.243 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.3643, allocations: 127.6 kB / 1.243 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.3643, allocations: 28 kB / 1.243 GB, free: 6.008 MB / 0.9981 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.0003894/0.3647, allocations: 341.9 kB / 1.243 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3649, allocations: 71.47 kB / 1.243 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.365, allocations: 66 kB / 1.244 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.365, allocations: 3.938 kB / 1.244 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.365, allocations: 3.984 kB / 1.244 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.365, allocations: 8 kB / 1.244 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.3657, allocations: 0.5753 MB / 1.244 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3657, allocations: 3.938 kB / 1.244 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.3659, allocations: 39.97 kB / 1.244 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.3661, allocations: 44.81 kB / 1.244 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3661, allocations: 4 kB / 1.244 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3672, allocations: 1.535 MB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3672, allocations: 160 / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.3679, allocations: 0.5799 MB / 1.246 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.3682, allocations: 196.6 kB / 1.246 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.3683, allocations: 15.98 kB / 1.246 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.3687, allocations: 47.98 kB / 1.246 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.3688, allocations: 11.98 kB / 1.246 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3688, allocations: 8 kB / 1.246 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008589/0.3696, allocations: 0.6629 MB / 1.247 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 1.247 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006816/0.3703, allocations: 179.9 kB / 1.247 GB, free: 1.387 MB / 0.9981 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.000136/0.3705, allocations: 108.3 kB / 1.247 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009237/0.3714, allocations: 0.5596 MB / 1.248 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3714, allocations: 0 / 1.248 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.3717, allocations: 258.6 kB / 1.248 GB, free: 448 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.3725, allocations: 166.7 kB / 1.248 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6526/1.025, allocations: 1.536 MB / 1.25 GB, free: 29.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/1.026, allocations: 1.004 MB / 1.251 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005617/1.026, allocations: 183.5 kB / 1.251 GB, free: 28.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/1.026, allocations: 36.28 kB / 1.251 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.026, allocations: 3.656 kB / 1.251 GB, free: 28.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.01649/1.043, allocations: 8.579 MB / 1.259 GB, free: 28.58 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches