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.0008068/0.0008069, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005652/0.005652, allocations: 169 kB / 16.26 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 16.06 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002944/0.3334, allocations: 2.417 MB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003809/0.3373, allocations: 2.758 MB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.3375, allocations: 7.938 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.339, allocations: 466.3 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.3396, allocations: 247 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.3406, allocations: 335.2 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.3426, allocations: 1.712 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.3428, allocations: 117.7 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.3435, allocations: 406.7 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.3441, allocations: 386.6 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.3441, allocations: 20 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.3442, allocations: 31.94 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.3444, allocations: 227.3 kB / 1.068 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.3448, allocations: 359.9 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.3455, allocations: 0.8603 MB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3455, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3455, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3455, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 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.00199/0.3475, allocations: 1.039 MB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3475, allocations: 11.97 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3477, allocations: 80 kB / 1.07 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.3486, allocations: 0.6486 MB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.3486, allocations: 28.94 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.3487, allocations: 36.38 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.3493, allocations: 378.9 kB / 1.071 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3493, allocations: 3.938 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3494, allocations: 12 kB / 1.071 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3494, allocations: 4 kB / 1.071 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.3498, allocations: 241.5 kB / 1.071 GB, free: 8.562 MB / 0.8262 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.003585/0.3534, allocations: 2.479 MB / 1.074 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.3544, allocations: 404 kB / 1.074 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.3547, allocations: 140.7 kB / 1.074 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3547, allocations: 0 / 1.074 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3547, allocations: 38.56 kB / 1.074 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.3548, allocations: 4 kB / 1.074 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001073/0.3558, allocations: 0.5435 MB / 1.075 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3559, allocations: 51.41 kB / 1.075 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.3572, allocations: 0.9298 MB / 1.076 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3573, allocations: 41.7 kB / 1.076 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.3575, allocations: 304.4 kB / 1.076 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.3576, allocations: 67.08 kB / 1.076 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.3577, allocations: 65.69 kB / 1.076 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3579, allocations: 386.7 kB / 1.076 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3582, allocations: 244.8 kB / 1.077 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.3588, allocations: 0.5014 MB / 1.077 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.3596, allocations: 0.7051 MB / 1.078 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3596, allocations: 4 kB / 1.078 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001285/0.3609, allocations: 0.8137 MB / 1.079 GB, free: 336 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3609, allocations: 12 kB / 1.079 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3609, allocations: 8 kB / 1.079 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.3611, allocations: 61.12 kB / 1.079 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.3617, allocations: 143.8 kB / 1.079 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.363, allocations: 1.44 MB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.3637, allocations: 127.2 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.3638, allocations: 28 kB / 1.08 GB, free: 14.38 MB / 0.8419 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.0005001/0.3643, allocations: 342.9 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.3644, allocations: 59.25 kB / 1.081 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3645, allocations: 70.09 kB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3645, allocations: 3.938 kB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3645, allocations: 7.938 kB / 1.081 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3646, allocations: 3.938 kB / 1.081 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.3653, allocations: 0.5791 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3653, allocations: 0 / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.3655, allocations: 51.95 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.3657, allocations: 36.83 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3657, allocations: 11.98 kB / 1.082 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3668, allocations: 1.424 MB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3669, allocations: 0 / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.3678, allocations: 0.5658 MB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.3681, allocations: 204.3 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.3681, allocations: 12.09 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3685, allocations: 47.86 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3686, allocations: 19.97 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3686, allocations: 4.125 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008828/0.3695, allocations: 0.659 MB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3695, allocations: 0 / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006667/0.3702, allocations: 183.8 kB / 1.085 GB, free: 9.883 MB / 0.8419 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.0001331/0.3703, allocations: 105.3 kB / 1.085 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.3713, allocations: 0.5844 MB / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3713, allocations: 1.875 kB / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.3716, allocations: 246.5 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.3726, allocations: 174.7 kB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.375, allocations: 1.808 MB / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.3757, allocations: 1.003 MB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004822/0.3762, allocations: 188.5 kB / 1.089 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3763, allocations: 39.44 kB / 1.089 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.3763, allocations: 0 / 1.089 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.01528/0.3916, allocations: 7.96 MB / 1.096 GB, free: 13.8 MB / 0.8575 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