Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00919/0.00919, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001171/0.001171, allocations: 194.4 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 58.95 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3175, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005251/0.3228, allocations: 3.745 MB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004534/0.3274, allocations: 2.49 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.3279, allocations: 19.81 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.3289, allocations: 254.4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.3301, allocations: 0.4938 MB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3315, allocations: 0.5408 MB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.3332, allocations: 1.398 MB / 1.097 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.3334, allocations: 157 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.3341, allocations: 438.5 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.3347, allocations: 458.2 kB / 1.098 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.3348, allocations: 56 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3349, allocations: 60 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.3354, allocations: 374.9 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.3358, allocations: 473.5 kB / 1.099 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009599/0.3368, allocations: 0.9413 MB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3368, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3368, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.3368, allocations: 0 / 1.099 GB, free: 5.621 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.002317/0.3392, allocations: 1.292 MB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3392, allocations: 12.03 kB / 1.101 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3394, allocations: 104.3 kB / 1.101 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.3405, allocations: 0.6761 MB / 1.102 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.3406, allocations: 45.02 kB / 1.102 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.3407, allocations: 56.33 kB / 1.102 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.3413, allocations: 418.9 kB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3413, allocations: 3.938 kB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.3414, allocations: 12 kB / 1.102 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3414, allocations: 8 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.3418, allocations: 238.4 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.3452, allocations: 2.498 MB / 1.105 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.3467, allocations: 0.5459 MB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.347, allocations: 164.7 kB / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.347, allocations: 0 / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3471, allocations: 42.55 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.956e-06/0.3471, allocations: 3.984 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001702/0.3488, allocations: 0.8867 MB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3488, allocations: 55.41 kB / 1.106 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.35, allocations: 0.9271 MB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.3501, allocations: 41.7 kB / 1.107 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.3504, allocations: 373.2 kB / 1.108 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3505, allocations: 127 kB / 1.108 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.3507, allocations: 166.6 kB / 1.108 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3509, allocations: 398.7 kB / 1.108 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.3513, allocations: 249.8 kB / 1.109 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.352, allocations: 0.6387 MB / 1.109 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3531, allocations: 0.8875 MB / 1.11 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.3531, allocations: 4 kB / 1.11 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001648/0.3547, allocations: 1.026 MB / 1.111 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3548, allocations: 8 kB / 1.111 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.3548, allocations: 16 kB / 1.111 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.3552, allocations: 126.7 kB / 1.111 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.3559, allocations: 187.6 kB / 1.111 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00353/0.3594, allocations: 4.473 MB / 1.116 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3605, allocations: 115.2 kB / 1.116 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.3606, allocations: 44 kB / 1.116 GB, free: 3.523 MB / 0.8731 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.361, allocations: 274.5 kB / 1.116 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3611, allocations: 83.44 kB / 1.116 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3612, allocations: 80.53 kB / 1.116 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3613, allocations: 4 kB / 1.116 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3613, allocations: 0 / 1.116 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3613, allocations: 3.984 kB / 1.116 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007937/0.3621, allocations: 0.657 MB / 1.117 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3621, allocations: 0 / 1.117 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.3624, allocations: 63.94 kB / 1.117 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.3627, allocations: 106.6 kB / 1.117 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.3628, allocations: 12 kB / 1.117 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.3662, allocations: 4.449 MB / 1.121 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3662, allocations: 4.125 kB / 1.121 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3674, allocations: 0.7394 MB / 1.122 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.3678, allocations: 216.3 kB / 1.122 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3679, allocations: 8 kB / 1.122 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.3684, allocations: 23.97 kB / 1.122 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3685, allocations: 23.97 kB / 1.122 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3685, allocations: 8 kB / 1.122 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008529/0.3694, allocations: 0.62 MB / 1.123 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3694, allocations: 0 / 1.123 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009315/0.3703, allocations: 279.7 kB / 1.123 GB, free: 11.36 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001754/0.3705, allocations: 115.1 kB / 1.123 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.372, allocations: 0.9129 MB / 1.124 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.372, allocations: 8.062 kB / 1.124 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.3726, allocations: 0.5128 MB / 1.125 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.3735, allocations: 176.8 kB / 1.125 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.376, allocations: 1.737 MB / 1.127 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.3767, allocations: 0.9878 MB / 1.128 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000438/0.3771, allocations: 149.8 kB / 1.128 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3773, allocations: 55.44 kB / 1.128 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of SimCode: time 1.041e-06/0.3773, allocations: 0 / 1.128 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of Templates: time 0.01729/0.3946, allocations: 10.22 MB / 1.138 GB, free: 12.46 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches