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.005834/0.005834, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00124/0.00124, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.43/2.43, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.2 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005162/0.2929, allocations: 3.734 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.2974, allocations: 2.494 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.2985, allocations: 15.94 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.2998, allocations: 250.3 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.3022, allocations: 0.4946 MB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.3043, allocations: 0.5387 MB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.3063, allocations: 1.371 MB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.3067, allocations: 157 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008925/0.3076, allocations: 454.5 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.3084, allocations: 482.1 kB / 1.098 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3085, allocations: 56 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3087, allocations: 56 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.3091, allocations: 355 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.3097, allocations: 453.6 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.3106, allocations: 0.9147 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3106, allocations: 0 / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3106, allocations: 8 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.3106, allocations: 0 / 1.099 GB, free: 5.688 MB / 0.8575 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.002313/0.313, allocations: 1.245 MB / 1.101 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.313, allocations: 12.03 kB / 1.101 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.3132, allocations: 103.7 kB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3143, allocations: 0.6636 MB / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3144, allocations: 41.03 kB / 1.101 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.3145, allocations: 56.38 kB / 1.101 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.3151, allocations: 398.9 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3151, allocations: 8 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3151, allocations: 12 kB / 1.102 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3151, allocations: 8 kB / 1.102 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.3156, allocations: 226.4 kB / 1.102 GB, free: 2.805 MB / 0.8575 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.003122/0.3187, allocations: 2.486 MB / 1.105 GB, free: 124 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.32, allocations: 495 kB / 1.105 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3203, allocations: 153.2 kB / 1.105 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3203, allocations: 4.234 kB / 1.105 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3203, allocations: 38.8 kB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.3204, allocations: 0 / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002331/0.3227, allocations: 1.208 MB / 1.106 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3228, allocations: 55.41 kB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.3242, allocations: 0.9193 MB / 1.107 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.3243, allocations: 41.7 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.3246, allocations: 360.8 kB / 1.108 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3248, allocations: 122.3 kB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.325, allocations: 170.6 kB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3252, allocations: 386.8 kB / 1.108 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.3257, allocations: 233.8 kB / 1.109 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.3264, allocations: 0.6231 MB / 1.109 GB, free: 11.02 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.003092/0.3295, allocations: 1.765 MB / 1.111 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.3295, allocations: 4 kB / 1.111 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001498/0.331, allocations: 0.907 MB / 1.112 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3311, allocations: 8 kB / 1.112 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3311, allocations: 16 kB / 1.112 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.3313, allocations: 53.45 kB / 1.112 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.332, allocations: 211.6 kB / 1.112 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3334, allocations: 1.456 MB / 1.113 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.3343, allocations: 43.92 kB / 1.114 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.3343, allocations: 40 kB / 1.114 GB, free: 6.137 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.0004206/0.3348, allocations: 306 kB / 1.114 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.3349, allocations: 78.97 kB / 1.114 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.335, allocations: 76.47 kB / 1.114 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3351, allocations: 4 kB / 1.114 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3351, allocations: 0 / 1.114 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3351, allocations: 3.984 kB / 1.114 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.3368, allocations: 1.142 MB / 1.115 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3368, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.3372, allocations: 87.88 kB / 1.115 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.3373, allocations: 36.95 kB / 1.115 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3373, allocations: 8 kB / 1.115 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.3384, allocations: 1.437 MB / 1.117 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3384, allocations: 0 / 1.117 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.3393, allocations: 0.6554 MB / 1.117 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.3395, allocations: 196.1 kB / 1.117 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.3396, allocations: 8 kB / 1.117 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.34, allocations: 19.97 kB / 1.117 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.3401, allocations: 27.84 kB / 1.118 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3401, allocations: 8 kB / 1.118 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009201/0.341, allocations: 0.6239 MB / 1.118 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.341, allocations: 0 / 1.118 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007418/0.3418, allocations: 204 kB / 1.118 GB, free: 0.9609 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.000182/0.342, allocations: 115.1 kB / 1.118 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.3431, allocations: 0.642 MB / 1.119 GB, free: 192 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3431, allocations: 0 / 1.119 GB, free: 192 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.3434, allocations: 275.5 kB / 1.119 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.3442, allocations: 182.7 kB / 1.12 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.3465, allocations: 1.605 MB / 1.121 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.3471, allocations: 0.9837 MB / 1.122 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003642/0.3475, allocations: 161.8 kB / 1.122 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3476, allocations: 47.44 kB / 1.122 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of SimCode: time 8.21e-07/0.3476, allocations: 0 / 1.122 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of Templates: time 0.01599/0.3636, allocations: 9.082 MB / 1.131 GB, free: 3.895 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches