Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001456/0.001456, allocations: 107.6 kB / 16.27 MB, free: 6.41 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.001661/0.001661, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 66.28 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2882, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004946/0.2932, allocations: 3.736 MB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.2972, allocations: 2.503 MB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.2977, allocations: 15.88 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007971/0.2985, allocations: 254.3 kB / 1.071 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.2997, allocations: 0.4899 MB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.301, allocations: 0.5262 MB / 1.072 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3026, allocations: 1.39 MB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.3029, allocations: 149.1 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/0.3036, allocations: 430.5 kB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.3044, allocations: 0.5137 MB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3045, allocations: 56 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3047, allocations: 68 kB / 1.074 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.3051, allocations: 339 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.3056, allocations: 469.5 kB / 1.075 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.3064, allocations: 0.9185 MB / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3064, allocations: 0 / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3064, allocations: 0 / 1.076 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.3064, allocations: 0 / 1.076 GB, free: 3.168 MB / 0.8419 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.00213/0.3086, allocations: 1.269 MB / 1.077 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3086, allocations: 8.625 kB / 1.077 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3088, allocations: 111.7 kB / 1.077 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009237/0.3097, allocations: 0.652 MB / 1.078 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3097, allocations: 40.97 kB / 1.078 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.3098, allocations: 60.36 kB / 1.078 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.3104, allocations: 410.9 kB / 1.078 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3104, allocations: 0 / 1.078 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.3105, allocations: 19.94 kB / 1.078 GB, free: 492 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3105, allocations: 8 kB / 1.078 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.3109, allocations: 226.4 kB / 1.078 GB, free: 260 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4441/0.755, allocations: 2.501 MB / 1.081 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.7565, allocations: 0.5504 MB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.7567, allocations: 165.5 kB / 1.082 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.7568, allocations: 3.203 kB / 1.082 GB, free: 21.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.7568, allocations: 38.81 kB / 1.082 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.7568, allocations: 0 / 1.082 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001476/0.7583, allocations: 0.884 MB / 1.083 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.7583, allocations: 55.19 kB / 1.083 GB, free: 20.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.7594, allocations: 0.9266 MB / 1.083 GB, free: 20.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.7595, allocations: 37.83 kB / 1.084 GB, free: 20.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.7597, allocations: 366.2 kB / 1.084 GB, free: 20.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.7598, allocations: 115.3 kB / 1.084 GB, free: 20.01 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.76, allocations: 168.9 kB / 1.084 GB, free: 19.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7601, allocations: 402.9 kB / 1.085 GB, free: 19.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.7605, allocations: 245 kB / 1.085 GB, free: 19.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.761, allocations: 0.6346 MB / 1.085 GB, free: 18.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.7618, allocations: 0.8951 MB / 1.086 GB, free: 18.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.7618, allocations: 4.719 kB / 1.086 GB, free: 18.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001866/0.7637, allocations: 1.019 MB / 1.087 GB, free: 17.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.7638, allocations: 11.72 kB / 1.087 GB, free: 17.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.7638, allocations: 14.67 kB / 1.087 GB, free: 17.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.7642, allocations: 122.4 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.7648, allocations: 189.2 kB / 1.088 GB, free: 17.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.7672, allocations: 4.483 MB / 1.092 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008841/0.7681, allocations: 109.1 kB / 1.092 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.7681, allocations: 51.23 kB / 1.092 GB, free: 13.29 MB / 0.8419 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.0002727/0.7684, allocations: 265.7 kB / 1.092 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.7685, allocations: 87.81 kB / 1.092 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.7686, allocations: 79.69 kB / 1.093 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.7686, allocations: 2.906 kB / 1.093 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7687, allocations: 6.406 kB / 1.093 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.7687, allocations: 6.281 kB / 1.093 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.7695, allocations: 0.6562 MB / 1.093 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7695, allocations: 0 / 1.093 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.7698, allocations: 66.02 kB / 1.093 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.7701, allocations: 105.2 kB / 1.093 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.7701, allocations: 12.41 kB / 1.093 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.7724, allocations: 4.445 MB / 1.098 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7724, allocations: 0 / 1.098 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.7734, allocations: 0.7495 MB / 1.098 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.7737, allocations: 206.6 kB / 1.099 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.7738, allocations: 10 kB / 1.099 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.7742, allocations: 24.75 kB / 1.099 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.7743, allocations: 27.66 kB / 1.099 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.7744, allocations: 9.781 kB / 1.099 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009001/0.7753, allocations: 0.6196 MB / 1.099 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7753, allocations: 0.6875 kB / 1.099 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009035/0.7762, allocations: 263.8 kB / 1.1 GB, free: 7.41 MB / 0.8419 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.000104/0.7763, allocations: 114.4 kB / 1.1 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.7776, allocations: 0.9532 MB / 1.101 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7776, allocations: 320 / 1.101 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.7781, allocations: 0.5275 MB / 1.101 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.779, allocations: 170.8 kB / 1.101 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.7813, allocations: 1.786 MB / 1.103 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.7818, allocations: 0.9918 MB / 1.104 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.782, allocations: 52.45 kB / 1.104 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/0.782, allocations: 0 / 1.104 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.0241/0.8061, allocations: 17.58 MB / 1.121 GB, free: 1.492 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches