Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 191.4 kB / 16.67 MB, free: 6.57 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.373/1.373, allocations: 222.9 MB / 240.3 MB, free: 4.359 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.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 67.88 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.349, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005176/0.3542, allocations: 3.751 MB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004324/0.3585, allocations: 2.509 MB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.3589, allocations: 15.94 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008474/0.3597, allocations: 254.3 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3607, allocations: 0.4938 MB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.3621, allocations: 0.5378 MB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.3636, allocations: 1.394 MB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3638, allocations: 97.17 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.3643, allocations: 434.5 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.3649, allocations: 474.2 kB / 1.23 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.365, allocations: 56 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3651, allocations: 60 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.3655, allocations: 374.8 kB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.3659, allocations: 465.6 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009138/0.3668, allocations: 0.9489 MB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3668, allocations: 0 / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3668, allocations: 0 / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3668, allocations: 0 / 1.232 GB, free: 1.957 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002162/0.369, allocations: 1.295 MB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.369, allocations: 8.031 kB / 1.233 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3692, allocations: 112.3 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3702, allocations: 0.6761 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.3703, allocations: 45.03 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.3703, allocations: 56.38 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3709, allocations: 410.9 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.371, allocations: 7.938 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.371, allocations: 12 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.371, allocations: 8 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.3714, allocations: 238.4 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.3745, allocations: 2.494 MB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3759, allocations: 0.5147 MB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.3762, allocations: 152.8 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3762, allocations: 11.92 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3762, allocations: 34.56 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.3762, allocations: 0 / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001631/0.3779, allocations: 0.8823 MB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3779, allocations: 59.41 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3791, allocations: 0.9271 MB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3792, allocations: 45.69 kB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3794, allocations: 365.2 kB / 1.24 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.3796, allocations: 122.9 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.3798, allocations: 170.6 kB / 1.241 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.38, allocations: 390.8 kB / 1.241 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.3803, allocations: 253.8 kB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.3809, allocations: 0.6349 MB / 1.242 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.3819, allocations: 0.8971 MB / 1.243 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.3819, allocations: 4 kB / 1.243 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001569/0.3835, allocations: 1.026 MB / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.3835, allocations: 15.98 kB / 1.244 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3835, allocations: 15.94 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.3839, allocations: 126.6 kB / 1.244 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.3846, allocations: 195.6 kB / 1.244 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.3881, allocations: 4.473 MB / 1.248 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6913/1.079, allocations: 105.2 kB / 1.248 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/1.08, allocations: 41.22 kB / 1.248 GB, free: 28.85 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003678/1.08, allocations: 270.4 kB / 1.249 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.08, allocations: 83.72 kB / 1.249 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.08, allocations: 82.72 kB / 1.249 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.08, allocations: 3.219 kB / 1.249 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.08, allocations: 2.484 kB / 1.249 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/1.08, allocations: 2.422 kB / 1.249 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/1.081, allocations: 0.6602 MB / 1.25 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.081, allocations: 0.6562 kB / 1.25 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/1.081, allocations: 59.02 kB / 1.25 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/1.082, allocations: 106 kB / 1.25 GB, free: 28.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/1.082, allocations: 12.11 kB / 1.25 GB, free: 28.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/1.084, allocations: 4.458 MB / 1.254 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.084, allocations: 3.938 kB / 1.254 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.085, allocations: 0.7352 MB / 1.255 GB, free: 24.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/1.085, allocations: 211.7 kB / 1.255 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/1.085, allocations: 9.188 kB / 1.255 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.086, allocations: 21.45 kB / 1.255 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.086, allocations: 30.48 kB / 1.255 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/1.086, allocations: 6.469 kB / 1.255 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000823/1.087, allocations: 0.6227 MB / 1.256 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.087, allocations: 0 / 1.256 GB, free: 24.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008639/1.088, allocations: 267.8 kB / 1.256 GB, free: 24.11 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.000116/1.088, allocations: 110.6 kB / 1.256 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001201/1.089, allocations: 0.8993 MB / 1.257 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.089, allocations: 0.9062 kB / 1.257 GB, free: 23.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005271/1.09, allocations: 0.519 MB / 1.257 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/1.09, allocations: 180 kB / 1.258 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/1.093, allocations: 1.733 MB / 1.259 GB, free: 22.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.093, allocations: 0.9994 MB / 1.26 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003126/1.093, allocations: 149.5 kB / 1.26 GB, free: 21.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.093, allocations: 48.78 kB / 1.26 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.093, allocations: 3.938 kB / 1.26 GB, free: 21.74 MB / 0.9981 GB Notification: Performance of Templates: time 0.02011/1.113, allocations: 10.31 MB / 1.271 GB, free: 21.16 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches