Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108.6 kB / 15.73 MB, free: 72 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.001188/0.001188, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.372/1.372, allocations: 222.9 MB / 240.3 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7452 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 159.9 MB / 1.226 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004393/0.3692, allocations: 2.753 MB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.3735, allocations: 2.782 MB / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.3739, allocations: 7.938 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.3756, allocations: 498 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.3764, allocations: 262.5 kB / 1.232 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3775, allocations: 394.9 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.3794, allocations: 1.532 MB / 1.234 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.3797, allocations: 138.2 kB / 1.234 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008507/0.3806, allocations: 478.7 kB / 1.234 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.3814, allocations: 382.6 kB / 1.234 GB, free: 28 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3816, allocations: 48.05 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3818, allocations: 55.88 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.3821, allocations: 275.3 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.3826, allocations: 378.2 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.3837, allocations: 0.9069 MB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.3838, allocations: 4 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.419e-06/0.3838, allocations: 3.984 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.263e-05/0.3838, allocations: 0 / 1.236 GB, free: 14.37 MB / 0.9981 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.002879/0.3867, allocations: 1.156 MB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3868, allocations: 12.02 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.3871, allocations: 84.42 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.3884, allocations: 0.6842 MB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.3885, allocations: 28.94 kB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.3886, allocations: 40.38 kB / 1.238 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.3892, allocations: 382.8 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3893, allocations: 0 / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.3893, allocations: 8 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3893, allocations: 8 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.3897, allocations: 229.5 kB / 1.239 GB, free: 11.64 MB / 0.9981 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.003978/0.3937, allocations: 2.459 MB / 1.241 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009629/0.3947, allocations: 394.5 kB / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3949, allocations: 140.7 kB / 1.242 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3949, allocations: 4 kB / 1.242 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.395, allocations: 30.56 kB / 1.242 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/0.395, allocations: 0 / 1.242 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009618/0.3959, allocations: 0.5408 MB / 1.242 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.396, allocations: 55.34 kB / 1.242 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3973, allocations: 0.9415 MB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.3974, allocations: 37.7 kB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3977, allocations: 300.8 kB / 1.243 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.3978, allocations: 71.42 kB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.3979, allocations: 126.2 kB / 1.244 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.3981, allocations: 386.7 kB / 1.244 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3985, allocations: 236.9 kB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.399, allocations: 0.4975 MB / 1.245 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.3999, allocations: 0.7012 MB / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3999, allocations: 0 / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001327/0.4012, allocations: 0.8161 MB / 1.246 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.4012, allocations: 11.98 kB / 1.246 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4013, allocations: 8 kB / 1.246 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.4015, allocations: 61.39 kB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.402, allocations: 143.7 kB / 1.246 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.4034, allocations: 1.542 MB / 1.248 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.4042, allocations: 127.4 kB / 1.248 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.4042, allocations: 28 kB / 1.248 GB, free: 1.336 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.0004303/0.4046, allocations: 345.9 kB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4048, allocations: 71.56 kB / 1.248 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4049, allocations: 70 kB / 1.249 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4049, allocations: 0 / 1.249 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4049, allocations: 0 / 1.249 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4049, allocations: 0 / 1.249 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.4056, allocations: 0.5792 MB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4056, allocations: 0 / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.4058, allocations: 51.89 kB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.4059, allocations: 44.83 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.406, allocations: 11.98 kB / 1.249 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7036/1.11, allocations: 1.51 MB / 1.251 GB, free: 25.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.11, allocations: 5.125 kB / 1.251 GB, free: 25.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.111, allocations: 0.5695 MB / 1.251 GB, free: 25.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/1.111, allocations: 204.9 kB / 1.251 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/1.111, allocations: 10.58 kB / 1.251 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/1.112, allocations: 49.42 kB / 1.251 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.112, allocations: 11.72 kB / 1.251 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.112, allocations: 4.047 kB / 1.251 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001131/1.113, allocations: 0.6627 MB / 1.252 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.113, allocations: 0 / 1.252 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008312/1.114, allocations: 181.1 kB / 1.252 GB, free: 25.39 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.0001506/1.114, allocations: 107.8 kB / 1.252 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001133/1.115, allocations: 0.5768 MB / 1.253 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.115, allocations: 2.75 kB / 1.253 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/1.115, allocations: 249.9 kB / 1.253 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/1.116, allocations: 175.8 kB / 1.253 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/1.119, allocations: 1.533 MB / 1.255 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/1.12, allocations: 1.01 MB / 1.256 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00055/1.12, allocations: 185.3 kB / 1.256 GB, free: 23.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/1.121, allocations: 41 kB / 1.256 GB, free: 23.76 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.121, allocations: 0 / 1.256 GB, free: 23.76 MB / 0.9981 GB Notification: Performance of Templates: time 0.02052/1.141, allocations: 8.524 MB / 1.264 GB, free: 23.36 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches