Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001158, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001217/0.001217, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.329/1.329, 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7663, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003795/0.7701, allocations: 2.753 MB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.774, allocations: 2.779 MB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.7744, allocations: 9.719 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.776, allocations: 0.4935 MB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.7766, allocations: 245.7 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.7778, allocations: 400.2 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.78, allocations: 1.544 MB / 1.097 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.7803, allocations: 141.5 kB / 1.097 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.7811, allocations: 472.3 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.7817, allocations: 389.2 kB / 1.098 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.7819, allocations: 47.03 kB / 1.098 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.782, allocations: 53.22 kB / 1.098 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.7824, allocations: 273.4 kB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.7829, allocations: 374.9 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.7842, allocations: 0.9135 MB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7842, allocations: 0 / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.358e-06/0.7842, allocations: 0.7031 kB / 1.099 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7842, allocations: 1.125 kB / 1.099 GB, free: 15.54 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002586/0.7868, allocations: 1.139 MB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.7869, allocations: 9.875 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.7871, allocations: 82.16 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.7884, allocations: 0.6692 MB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.7884, allocations: 27.28 kB / 1.101 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.7885, allocations: 38.66 kB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.7892, allocations: 380.4 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7892, allocations: 0 / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.7892, allocations: 10.41 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.7893, allocations: 6 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.7898, allocations: 241 kB / 1.102 GB, free: 14.06 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.004152/0.794, allocations: 2.45 MB / 1.104 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.795, allocations: 399.1 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.7952, allocations: 145 kB / 1.105 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.7953, allocations: 3.891 kB / 1.105 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.7953, allocations: 31.88 kB / 1.105 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.7953, allocations: 0 / 1.105 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0009967/0.7963, allocations: 0.5383 MB / 1.105 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7964, allocations: 54.84 kB / 1.105 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.7977, allocations: 0.9372 MB / 1.106 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.7977, allocations: 35.95 kB / 1.106 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.798, allocations: 300.3 kB / 1.106 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.7981, allocations: 67.08 kB / 1.107 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.7983, allocations: 121.3 kB / 1.107 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.7985, allocations: 388.7 kB / 1.107 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.7989, allocations: 238.6 kB / 1.107 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.7995, allocations: 0.5063 MB / 1.108 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.8004, allocations: 0.6922 MB / 1.108 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.8004, allocations: 2.219 kB / 1.108 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001319/0.8017, allocations: 0.8184 MB / 1.109 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.8017, allocations: 9.062 kB / 1.109 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8017, allocations: 11.09 kB / 1.109 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.802, allocations: 57.12 kB / 1.109 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.8025, allocations: 141.2 kB / 1.109 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.8039, allocations: 1.542 MB / 1.111 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.8047, allocations: 126.6 kB / 1.111 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.8048, allocations: 27.88 kB / 1.111 GB, free: 7.926 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0005471/0.8053, allocations: 344.9 kB / 1.111 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.8055, allocations: 66.59 kB / 1.111 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.8056, allocations: 67.14 kB / 1.112 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8057, allocations: 2.094 kB / 1.112 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8057, allocations: 1.109 kB / 1.112 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8057, allocations: 5.422 kB / 1.112 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.8066, allocations: 0.5741 MB / 1.112 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8066, allocations: 0.6562 kB / 1.112 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.8069, allocations: 55 kB / 1.112 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.8071, allocations: 49.47 kB / 1.112 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.8071, allocations: 10.44 kB / 1.112 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.8083, allocations: 1.517 MB / 1.114 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8083, allocations: 6.016 kB / 1.114 GB, free: 5.832 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.8092, allocations: 0.561 MB / 1.114 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.8095, allocations: 206.5 kB / 1.114 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/0.8096, allocations: 9.531 kB / 1.114 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.8101, allocations: 45.64 kB / 1.114 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.8101, allocations: 19.45 kB / 1.114 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8102, allocations: 3.156 kB / 1.114 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001073/0.8112, allocations: 0.6593 MB / 1.115 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8112, allocations: 0 / 1.115 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007487/0.812, allocations: 183 kB / 1.115 GB, free: 5.094 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001401/0.8121, allocations: 112.4 kB / 1.115 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8131, allocations: 0.575 MB / 1.116 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8132, allocations: 0 / 1.116 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.8135, allocations: 250.6 kB / 1.116 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.8145, allocations: 172.8 kB / 1.116 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.8171, allocations: 1.546 MB / 1.118 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.8179, allocations: 0.9996 MB / 1.119 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.8181, allocations: 42.28 kB / 1.119 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.8181, allocations: 0 / 1.119 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of Templates: time 0.02303/0.8411, allocations: 12.38 MB / 1.131 GB, free: 1.25 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches