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.001354/0.001354, allocations: 106 kB / 16.41 MB, free: 6.5 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.001305/0.001305, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 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.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7978, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004581/0.8025, allocations: 3.708 MB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004581/0.8071, allocations: 2.504 MB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.8078, allocations: 17.5 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.8088, allocations: 253 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.8102, allocations: 0.4912 MB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.8119, allocations: 0.5414 MB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.814, allocations: 1.378 MB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.8143, allocations: 149.3 kB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008315/0.8151, allocations: 453.4 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.816, allocations: 478 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.8161, allocations: 53.5 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.8162, allocations: 57.09 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.8167, allocations: 354.3 kB / 1.099 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.8172, allocations: 460.6 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.8183, allocations: 0.9074 MB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8184, allocations: 0 / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8184, allocations: 3.938 kB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.8184, allocations: 1.125 kB / 1.1 GB, free: 15.02 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.002361/0.8208, allocations: 1.248 MB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8208, allocations: 9.469 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.821, allocations: 102.1 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.8221, allocations: 0.6627 MB / 1.102 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.8221, allocations: 37.47 kB / 1.102 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.8223, allocations: 62.39 kB / 1.102 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.8229, allocations: 412.2 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.823, allocations: 4.531 kB / 1.103 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.823, allocations: 11.84 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.823, allocations: 12.53 kB / 1.103 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.8235, allocations: 224.7 kB / 1.103 GB, free: 13.34 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.003446/0.827, allocations: 2.492 MB / 1.105 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.8283, allocations: 487.8 kB / 1.106 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.8286, allocations: 155.7 kB / 1.106 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.8286, allocations: 2.859 kB / 1.106 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.8287, allocations: 32.11 kB / 1.106 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.8287, allocations: 1.312 kB / 1.106 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002256/0.831, allocations: 1.209 MB / 1.107 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.831, allocations: 58.16 kB / 1.107 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.8325, allocations: 0.9222 MB / 1.108 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.8326, allocations: 45.52 kB / 1.108 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.8329, allocations: 366.8 kB / 1.108 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.833, allocations: 118 kB / 1.108 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.8333, allocations: 170.2 kB / 1.109 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.8335, allocations: 391.4 kB / 1.109 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.8339, allocations: 230 kB / 1.109 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.8345, allocations: 0.6224 MB / 1.11 GB, free: 8.484 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.003027/0.8376, allocations: 1.759 MB / 1.112 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.8376, allocations: 3.562 kB / 1.112 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001678/0.8393, allocations: 0.9046 MB / 1.112 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.8393, allocations: 10.44 kB / 1.112 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.8393, allocations: 14.12 kB / 1.112 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.8395, allocations: 52.52 kB / 1.113 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.8403, allocations: 215.5 kB / 1.113 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.8415, allocations: 1.458 MB / 1.114 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/0.8424, allocations: 43.84 kB / 1.114 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.8424, allocations: 40.77 kB / 1.114 GB, free: 5.527 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.0004394/0.8429, allocations: 301.1 kB / 1.115 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.843, allocations: 83.47 kB / 1.115 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.8432, allocations: 80.14 kB / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8432, allocations: 3.938 kB / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8432, allocations: 0 / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8432, allocations: 2.844 kB / 1.115 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.8451, allocations: 1.143 MB / 1.116 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8451, allocations: 5.188 kB / 1.116 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.8455, allocations: 85.67 kB / 1.116 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.8456, allocations: 31.67 kB / 1.116 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.8457, allocations: 9.734 kB / 1.116 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.8467, allocations: 1.443 MB / 1.117 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.8467, allocations: 2.188 kB / 1.117 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.8477, allocations: 0.6525 MB / 1.118 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.8481, allocations: 196.3 kB / 1.118 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.8482, allocations: 13.41 kB / 1.118 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.8486, allocations: 13.38 kB / 1.118 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.8487, allocations: 24.5 kB / 1.118 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.8487, allocations: 11.56 kB / 1.118 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009828/0.8497, allocations: 0.6185 MB / 1.119 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8497, allocations: 4 kB / 1.119 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009074/0.8506, allocations: 207 kB / 1.119 GB, free: 2.367 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.0001516/0.8508, allocations: 111.4 kB / 1.119 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.8521, allocations: 0.6458 MB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8521, allocations: 1.375 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.8525, allocations: 272.4 kB / 1.12 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.8534, allocations: 166.2 kB / 1.12 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.856, allocations: 1.666 MB / 1.122 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.8567, allocations: 0.9835 MB / 1.123 GB, free: 48 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.8569, allocations: 50.7 kB / 1.123 GB, free: 40 kB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/0.8569, allocations: 1.312 kB / 1.123 GB, free: 40 kB / 0.8731 GB Notification: Performance of Templates: time 0.02342/0.8803, allocations: 12.16 MB / 1.135 GB, free: 14.23 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