Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorSingleLayer,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001835/0.001836, allocations: 187 kB / 17.34 MB, free: 5.742 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8548, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004728/0.8595, allocations: 3.718 MB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004484/0.8641, allocations: 2.496 MB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.8648, allocations: 17.69 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009131/0.8658, allocations: 260.7 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.8671, allocations: 0.4937 MB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.8689, allocations: 0.538 MB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.8714, allocations: 1.375 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.8717, allocations: 149.7 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.8727, allocations: 453.6 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.8736, allocations: 478.5 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.8738, allocations: 53.88 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.874, allocations: 56.97 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.8744, allocations: 350.5 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.875, allocations: 463.8 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.8763, allocations: 0.9114 MB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8763, allocations: 1.062 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8763, allocations: 0 / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.8763, allocations: 0 / 1.1 GB, free: 14.75 MB / 0.8731 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.002675/0.879, allocations: 1.251 MB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8791, allocations: 9.156 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.8793, allocations: 102.5 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.8806, allocations: 0.6626 MB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.8806, allocations: 41.92 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.8807, allocations: 57.09 kB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.8815, allocations: 409.1 kB / 1.103 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8815, allocations: 4.656 kB / 1.103 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.8816, allocations: 11.34 kB / 1.103 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.8816, allocations: 9.062 kB / 1.103 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.8821, allocations: 224.7 kB / 1.103 GB, free: 13.08 MB / 0.8731 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.003537/0.8857, allocations: 2.493 MB / 1.105 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.887, allocations: 486.4 kB / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.8872, allocations: 154.5 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.8873, allocations: 8.422 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.8873, allocations: 32.36 kB / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 4.408e-06/0.8873, allocations: 0 / 1.106 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002361/0.8897, allocations: 1.209 MB / 1.107 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.8898, allocations: 62.44 kB / 1.107 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.8912, allocations: 0.9229 MB / 1.108 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.8913, allocations: 45.02 kB / 1.108 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.8916, allocations: 361.3 kB / 1.108 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.8917, allocations: 119 kB / 1.108 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.892, allocations: 166.8 kB / 1.109 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8922, allocations: 395 kB / 1.109 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.8926, allocations: 229.8 kB / 1.109 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.8933, allocations: 0.623 MB / 1.11 GB, free: 8.223 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.8964, allocations: 1.758 MB / 1.112 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.8965, allocations: 7.875 kB / 1.112 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001813/0.8983, allocations: 0.8995 MB / 1.112 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.8983, allocations: 13.28 kB / 1.112 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.8984, allocations: 16.67 kB / 1.112 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.8986, allocations: 57.75 kB / 1.113 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.8993, allocations: 202.2 kB / 1.113 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.9005, allocations: 1.466 MB / 1.114 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.9015, allocations: 40.27 kB / 1.114 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.9016, allocations: 40.25 kB / 1.114 GB, free: 5.27 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0004925/0.9021, allocations: 303.2 kB / 1.115 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.9022, allocations: 78.94 kB / 1.115 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.9024, allocations: 80.41 kB / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9024, allocations: 3.344 kB / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.9024, allocations: 0 / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.9024, allocations: 3.219 kB / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.9043, allocations: 1.138 MB / 1.116 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9043, allocations: 1.438 kB / 1.116 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.9048, allocations: 84.08 kB / 1.116 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.9049, allocations: 36.34 kB / 1.116 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.9049, allocations: 8.938 kB / 1.116 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.906, allocations: 1.437 MB / 1.117 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9061, allocations: 5.609 kB / 1.117 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.9071, allocations: 0.6523 MB / 1.118 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.9074, allocations: 200.3 kB / 1.118 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.9075, allocations: 13.47 kB / 1.118 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.9079, allocations: 18.22 kB / 1.118 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.908, allocations: 24.56 kB / 1.118 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.908, allocations: 10.16 kB / 1.118 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009559/0.909, allocations: 0.6184 MB / 1.119 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.909, allocations: 1.094 kB / 1.119 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009887/0.91, allocations: 206.4 kB / 1.119 GB, free: 2.109 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001485/0.9102, allocations: 111.2 kB / 1.119 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.9115, allocations: 0.6512 MB / 1.12 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.9115, allocations: 3.938 kB / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.9119, allocations: 271.1 kB / 1.12 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.9129, allocations: 172.1 kB / 1.12 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.9155, allocations: 1.655 MB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.9162, allocations: 0.9885 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.9164, allocations: 51.61 kB / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of SimCode: time 3.61e-07/0.9164, allocations: 0 / 1.123 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of Templates: time 0.02812/0.9446, allocations: 12.16 MB / 1.135 GB, free: 14.01 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches