Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001162/0.001162, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001256/0.001256, allocations: 193.3 kB / 16.25 MB, free: 6.633 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.61 kB / 0.8986 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3234, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006256/0.3297, allocations: 3.77 MB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.3347, allocations: 2.502 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.3355, allocations: 11.94 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.3367, allocations: 222.7 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.3384, allocations: 466 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3402, allocations: 499 kB / 1.06 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00209/0.3423, allocations: 1.386 MB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.3426, allocations: 153.1 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.3436, allocations: 434.4 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3448, allocations: 0.5411 MB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.345, allocations: 60 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.3453, allocations: 64 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003946/0.3457, allocations: 335 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.3464, allocations: 469.5 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3475, allocations: 0.9225 MB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3475, allocations: 4 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3475, allocations: 0 / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.471e-05/0.3475, allocations: 0 / 1.064 GB, free: 12.96 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0034/0.3509, allocations: 1.265 MB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.351, allocations: 8.625 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.3514, allocations: 103.7 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.353, allocations: 0.6597 MB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.353, allocations: 37.03 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3531, allocations: 60.38 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.3539, allocations: 414.9 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3539, allocations: 3.938 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.354, allocations: 15.94 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.354, allocations: 8 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.3544, allocations: 234.4 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.3576, allocations: 2.498 MB / 1.069 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.359, allocations: 0.5454 MB / 1.069 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.3593, allocations: 160.8 kB / 1.07 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3593, allocations: 4 kB / 1.07 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3594, allocations: 38.5 kB / 1.07 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.562e-06/0.3594, allocations: 0 / 1.07 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001697/0.3611, allocations: 0.8856 MB / 1.071 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3611, allocations: 63.41 kB / 1.071 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3623, allocations: 0.9232 MB / 1.071 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.3623, allocations: 41.7 kB / 1.072 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.3626, allocations: 364.8 kB / 1.072 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3627, allocations: 114.3 kB / 1.072 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.363, allocations: 170.6 kB / 1.072 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3632, allocations: 398.7 kB / 1.073 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3636, allocations: 245.8 kB / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.3642, allocations: 0.6465 MB / 1.073 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.3652, allocations: 0.889 MB / 1.074 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3652, allocations: 4 kB / 1.074 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001698/0.3669, allocations: 1.018 MB / 1.075 GB, free: 352 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.367, allocations: 12 kB / 1.075 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.367, allocations: 16 kB / 1.075 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.3674, allocations: 122.6 kB / 1.075 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.3681, allocations: 195.7 kB / 1.076 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.3715, allocations: 4.469 MB / 1.08 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.3724, allocations: 122.9 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.3725, allocations: 44 kB / 1.08 GB, free: 10.94 MB / 0.8419 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.0003431/0.3728, allocations: 265.4 kB / 1.08 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.373, allocations: 78.97 kB / 1.08 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.3732, allocations: 80.53 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3732, allocations: 4 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3732, allocations: 4 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3732, allocations: 7.922 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.374, allocations: 0.6608 MB / 1.081 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.374, allocations: 0 / 1.081 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.3743, allocations: 63.88 kB / 1.081 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.3747, allocations: 102.6 kB / 1.081 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3747, allocations: 8 kB / 1.081 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.3779, allocations: 4.461 MB / 1.086 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3779, allocations: 4.062 kB / 1.086 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.379, allocations: 0.7272 MB / 1.086 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.3793, allocations: 211.9 kB / 1.087 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3794, allocations: 11.94 kB / 1.087 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.3799, allocations: 23.97 kB / 1.087 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.38, allocations: 23.97 kB / 1.087 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.38, allocations: 7.984 kB / 1.087 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000883/0.3809, allocations: 0.6239 MB / 1.087 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3809, allocations: 0 / 1.087 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008957/0.3818, allocations: 275.7 kB / 1.088 GB, free: 2.781 MB / 0.8419 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.0001391/0.382, allocations: 107.2 kB / 1.088 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.3835, allocations: 0.9607 MB / 1.089 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3835, allocations: 4.125 kB / 1.089 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3841, allocations: 0.5194 MB / 1.089 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.385, allocations: 167.4 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3885, allocations: 1.993 MB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.3893, allocations: 0.9878 MB / 1.092 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.3897, allocations: 149.8 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.3899, allocations: 43.44 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.3899, allocations: 4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.01958/0.4095, allocations: 10.09 MB / 1.102 GB, free: 3.746 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches