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.001277/0.001277, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.0122/0.0122, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8.906 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005129/0.3322, allocations: 3.384 MB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.3374, allocations: 2.498 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.3381, allocations: 11.94 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.3391, allocations: 230.7 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.3403, allocations: 470 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3418, allocations: 471.1 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.3436, allocations: 1.632 MB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.3438, allocations: 124.8 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.3445, allocations: 370.5 kB / 1.068 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.3452, allocations: 0.5059 MB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.3452, allocations: 35.94 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3453, allocations: 36 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.3457, allocations: 307 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.3461, allocations: 459.2 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008049/0.3469, allocations: 0.8871 MB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3469, allocations: 4 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3469, allocations: 0 / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3469, allocations: 0 / 1.07 GB, free: 10.05 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.002059/0.349, allocations: 1.137 MB / 1.071 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.349, allocations: 8.031 kB / 1.071 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3492, allocations: 107.7 kB / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009681/0.3502, allocations: 0.6482 MB / 1.072 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.3502, allocations: 37.03 kB / 1.072 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3503, allocations: 60.38 kB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.351, allocations: 414.9 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.351, allocations: 7.938 kB / 1.072 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.351, allocations: 8 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3511, allocations: 12 kB / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.3515, allocations: 238.4 kB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.3547, allocations: 2.525 MB / 1.075 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3564, allocations: 0.5508 MB / 1.075 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.3566, allocations: 160.8 kB / 1.076 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3567, allocations: 11.94 kB / 1.076 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3567, allocations: 30.56 kB / 1.076 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.3567, allocations: 0 / 1.076 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001741/0.3585, allocations: 0.9014 MB / 1.076 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3585, allocations: 55.41 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3597, allocations: 0.927 MB / 1.077 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3598, allocations: 41.7 kB / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.3601, allocations: 364.8 kB / 1.078 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3602, allocations: 110.4 kB / 1.078 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3603, allocations: 101.7 kB / 1.078 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3605, allocations: 390.7 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.3609, allocations: 253.8 kB / 1.079 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.3616, allocations: 0.6427 MB / 1.079 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3627, allocations: 0.889 MB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.3627, allocations: 11.98 kB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001617/0.3643, allocations: 1.022 MB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3643, allocations: 8 kB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.3644, allocations: 16 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.3648, allocations: 126.7 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.3654, allocations: 191.6 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.3688, allocations: 4.169 MB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009982/0.3698, allocations: 115 kB / 1.086 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.3699, allocations: 40 kB / 1.086 GB, free: 8.516 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.0003699/0.3702, allocations: 265.5 kB / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3704, allocations: 86.94 kB / 1.086 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3705, allocations: 76.53 kB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3705, allocations: 4 kB / 1.086 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.3705, allocations: 3.938 kB / 1.086 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3706, allocations: 3.984 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.3713, allocations: 0.6608 MB / 1.087 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3713, allocations: 0 / 1.087 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.3717, allocations: 63.94 kB / 1.087 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.372, allocations: 102.5 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.372, allocations: 11.98 kB / 1.087 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/0.3754, allocations: 4.138 MB / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3754, allocations: 0 / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3765, allocations: 0.7389 MB / 1.092 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.3768, allocations: 208.1 kB / 1.092 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.3769, allocations: 12 kB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.3774, allocations: 23.97 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.3775, allocations: 35.81 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3775, allocations: 8 kB / 1.092 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008543/0.3784, allocations: 0.6239 MB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3784, allocations: 0 / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009189/0.3793, allocations: 267.8 kB / 1.093 GB, free: 0.6914 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.0001628/0.3795, allocations: 107.2 kB / 1.093 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.3809, allocations: 0.9329 MB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.381, allocations: 0 / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.3816, allocations: 0.5318 MB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3826, allocations: 163.3 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.3853, allocations: 2.119 MB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.3859, allocations: 0.9956 MB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.3864, allocations: 141.9 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3865, allocations: 51.42 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.3865, allocations: 0 / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.01816/0.4047, allocations: 9.539 MB / 1.107 GB, free: 2.086 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