Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.0009757/0.0009756, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 180.1 kB / 16.92 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437.8 MB / 0.7128 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6118, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003628/0.6155, allocations: 3.388 MB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.6193, allocations: 2.506 MB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.6196, allocations: 11.88 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.6202, allocations: 222.8 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008464/0.6211, allocations: 469.9 kB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.6221, allocations: 463.2 kB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.6236, allocations: 1.628 MB / 1.032 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.6239, allocations: 133.3 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.6244, allocations: 370.4 kB / 1.033 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.6252, allocations: 0.5021 MB / 1.033 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.6253, allocations: 32 kB / 1.033 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.6254, allocations: 40 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.6258, allocations: 311 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.6263, allocations: 459.4 kB / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.6269, allocations: 0.6934 MB / 1.035 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6269, allocations: 4 kB / 1.035 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6269, allocations: 0 / 1.035 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.6269, allocations: 0 / 1.035 GB, free: 4.578 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.002025/0.629, allocations: 1.144 MB / 1.036 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.629, allocations: 11.98 kB / 1.036 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.6292, allocations: 99.81 kB / 1.036 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/0.6301, allocations: 0.6636 MB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.6302, allocations: 37.03 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/0.6303, allocations: 56.38 kB / 1.037 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.6309, allocations: 418.9 kB / 1.037 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6309, allocations: 0 / 1.037 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.6309, allocations: 12 kB / 1.037 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6309, allocations: 8 kB / 1.037 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.6314, allocations: 246.4 kB / 1.037 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.6343, allocations: 2.517 MB / 1.04 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.6357, allocations: 0.5508 MB / 1.04 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.636, allocations: 160.8 kB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.636, allocations: 4 kB / 1.04 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6361, allocations: 30.56 kB / 1.04 GB, free: 14.31 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.6361, allocations: 4 kB / 1.04 GB, free: 14.31 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0017/0.6378, allocations: 0.9052 MB / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.6378, allocations: 55.41 kB / 1.041 GB, free: 13.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.639, allocations: 0.9231 MB / 1.042 GB, free: 12.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.6391, allocations: 41.7 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.6394, allocations: 368.8 kB / 1.043 GB, free: 11.92 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6395, allocations: 110.4 kB / 1.043 GB, free: 11.81 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6396, allocations: 101.7 kB / 1.043 GB, free: 11.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6398, allocations: 394.7 kB / 1.043 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.6402, allocations: 245.8 kB / 1.043 GB, free: 11.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.6409, allocations: 0.6348 MB / 1.044 GB, free: 10.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.642, allocations: 0.9028 MB / 1.045 GB, free: 9.148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.642, allocations: 4 kB / 1.045 GB, free: 9.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00174/0.6438, allocations: 1.018 MB / 1.046 GB, free: 8.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.6438, allocations: 12.06 kB / 1.046 GB, free: 8.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6439, allocations: 16 kB / 1.046 GB, free: 8.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.6443, allocations: 126.4 kB / 1.046 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.6449, allocations: 187.7 kB / 1.046 GB, free: 7.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.6481, allocations: 4.169 MB / 1.05 GB, free: 3.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6492, allocations: 111 kB / 1.05 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6493, allocations: 44 kB / 1.05 GB, free: 3.043 MB / 0.795 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.0003501/0.6497, allocations: 278 kB / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6498, allocations: 82.88 kB / 1.051 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.6499, allocations: 76.53 kB / 1.051 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6499, allocations: 7.938 kB / 1.051 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.65, allocations: 3.938 kB / 1.051 GB, free: 2.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.65, allocations: 3.984 kB / 1.051 GB, free: 2.586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.6507, allocations: 0.6531 MB / 1.052 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6507, allocations: 4 kB / 1.052 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.651, allocations: 71.88 kB / 1.052 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.6513, allocations: 98.5 kB / 1.052 GB, free: 1.703 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.6514, allocations: 12 kB / 1.052 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.6543, allocations: 4.13 MB / 1.056 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6544, allocations: 0 / 1.056 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6555, allocations: 0.7485 MB / 1.056 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.6558, allocations: 204.2 kB / 1.057 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.6559, allocations: 12 kB / 1.057 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.6564, allocations: 27.88 kB / 1.057 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.6565, allocations: 31.88 kB / 1.057 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.6565, allocations: 12 kB / 1.057 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008169/0.6574, allocations: 0.6161 MB / 1.057 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6574, allocations: 0 / 1.057 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008879/0.6583, allocations: 267.8 kB / 1.058 GB, free: 11.21 MB / 0.8106 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.0001452/0.6584, allocations: 119.2 kB / 1.058 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.6598, allocations: 0.9368 MB / 1.059 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6598, allocations: 0 / 1.059 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.6604, allocations: 0.531 MB / 1.059 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.6613, allocations: 160.8 kB / 1.059 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.6639, allocations: 2.159 MB / 1.061 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.6644, allocations: 0.9956 MB / 1.062 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.6646, allocations: 47.44 kB / 1.062 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.6646, allocations: 0 / 1.062 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of Templates: time 0.02048/0.6851, allocations: 17.47 MB / 1.08 GB, free: 4.68 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches