Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001548/0.001548, allocations: 103.4 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.001606/0.001606, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.602/1.602, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7666, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005249/0.7718, allocations: 3.754 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004419/0.7763, allocations: 2.506 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.7767, allocations: 15.94 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.7774, allocations: 230.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.7784, allocations: 458 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.7797, allocations: 491.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.7813, allocations: 1.371 MB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.7816, allocations: 149.1 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.7823, allocations: 442.4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.783, allocations: 0.5099 MB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.7831, allocations: 52 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.7832, allocations: 64 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.7836, allocations: 351 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.784, allocations: 453.7 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.7849, allocations: 0.8951 MB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.785, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.785, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.785, allocations: 4 kB / 1.028 GB, free: 6.965 MB / 0.7794 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.002227/0.7872, allocations: 1.253 MB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7873, allocations: 11.98 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7874, allocations: 107.7 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.7884, allocations: 0.6365 MB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.7885, allocations: 37.03 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.7886, allocations: 60.28 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.7893, allocations: 410.8 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7893, allocations: 0 / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.7893, allocations: 12 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.7893, allocations: 11.94 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.7898, allocations: 234.4 kB / 1.031 GB, free: 4.082 MB / 0.7794 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.003121/0.7929, allocations: 2.49 MB / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.7943, allocations: 492.2 kB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.7945, allocations: 157.2 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.7946, allocations: 4.234 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.7946, allocations: 34.8 kB / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.7946, allocations: 0 / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.002213/0.7968, allocations: 1.204 MB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.7969, allocations: 55.41 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.7981, allocations: 0.9269 MB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.7982, allocations: 41.7 kB / 1.036 GB, free: 14.38 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.7985, allocations: 360.8 kB / 1.036 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.7986, allocations: 114.4 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.7989, allocations: 174.6 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7991, allocations: 394.7 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.7995, allocations: 221.8 kB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.8002, allocations: 0.627 MB / 1.038 GB, free: 12.3 MB / 0.795 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.003171/0.8034, allocations: 1.767 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.8034, allocations: 4 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001533/0.805, allocations: 0.9071 MB / 1.041 GB, free: 9.383 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.805, allocations: 12 kB / 1.041 GB, free: 9.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.805, allocations: 12 kB / 1.041 GB, free: 9.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.8052, allocations: 49.41 kB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.8059, allocations: 215.6 kB / 1.041 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.8072, allocations: 1.46 MB / 1.042 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.808, allocations: 43.97 kB / 1.042 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.8081, allocations: 44.09 kB / 1.042 GB, free: 7.41 MB / 0.795 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.0004021/0.8085, allocations: 297.3 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.8086, allocations: 78.97 kB / 1.043 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.8088, allocations: 80.45 kB / 1.043 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.8088, allocations: 4 kB / 1.043 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8088, allocations: 3.938 kB / 1.043 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8088, allocations: 0 / 1.043 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.8105, allocations: 1.14 MB / 1.044 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8105, allocations: 3.938 kB / 1.044 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.8109, allocations: 92 kB / 1.044 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.8111, allocations: 28.84 kB / 1.044 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.8111, allocations: 11.98 kB / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.8123, allocations: 1.437 MB / 1.045 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8123, allocations: 0 / 1.045 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.8133, allocations: 0.6599 MB / 1.046 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.8135, allocations: 196.1 kB / 1.046 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.8136, allocations: 12.12 kB / 1.046 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.8141, allocations: 31.88 kB / 1.046 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.8142, allocations: 19.92 kB / 1.046 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.8142, allocations: 15.98 kB / 1.046 GB, free: 3.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008583/0.815, allocations: 0.6161 MB / 1.047 GB, free: 2.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8151, allocations: 0 / 1.047 GB, free: 2.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007424/0.8158, allocations: 208 kB / 1.047 GB, free: 2.223 MB / 0.795 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.0001535/0.816, allocations: 123 kB / 1.047 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.8172, allocations: 0.6694 MB / 1.048 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8172, allocations: 4.562 kB / 1.048 GB, free: 1.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.8176, allocations: 271.2 kB / 1.048 GB, free: 1.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.8185, allocations: 167.4 kB / 1.048 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.8211, allocations: 1.863 MB / 1.05 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.8218, allocations: 0.9876 MB / 1.051 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004106/0.8222, allocations: 153.8 kB / 1.051 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.8224, allocations: 51.44 kB / 1.051 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.8224, allocations: 0 / 1.051 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.01764/0.84, allocations: 8.951 MB / 1.06 GB, free: 5.004 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches