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.006263/0.006263, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001472/0.001472, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.563/2.563, allocations: 437 MB / 0.7106 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6215, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005136/0.6267, allocations: 3.781 MB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.6311, allocations: 2.541 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.6317, allocations: 11.94 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.6326, allocations: 214.8 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.6338, allocations: 470 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.6352, allocations: 478.8 kB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.637, allocations: 1.628 MB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.6373, allocations: 133.3 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.6379, allocations: 374.5 kB / 1.027 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008279/0.6388, allocations: 0.5137 MB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.6389, allocations: 43.94 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.6391, allocations: 40 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.6394, allocations: 327 kB / 1.028 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.64, allocations: 433.6 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.6407, allocations: 0.7092 MB / 1.029 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6407, allocations: 0 / 1.029 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6407, allocations: 0 / 1.029 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.6407, allocations: 4 kB / 1.029 GB, free: 7.078 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.002571/0.6433, allocations: 1.265 MB / 1.03 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001109/0.6434, allocations: 15.98 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.6437, allocations: 103.7 kB / 1.03 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6447, allocations: 0.6442 MB / 1.031 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.6448, allocations: 45.03 kB / 1.031 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.6449, allocations: 60.28 kB / 1.031 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.6456, allocations: 410.9 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6456, allocations: 4 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.6456, allocations: 16 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.6456, allocations: 8 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.6461, allocations: 234.4 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.6492, allocations: 2.49 MB / 1.034 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.6507, allocations: 0.5493 MB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.6509, allocations: 164.8 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.651, allocations: 4 kB / 1.034 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.651, allocations: 38.56 kB / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.651, allocations: 3.938 kB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001657/0.6527, allocations: 0.8818 MB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.6527, allocations: 55.41 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.654, allocations: 0.9308 MB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.6541, allocations: 41.7 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.6544, allocations: 356.9 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6545, allocations: 122.3 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.6547, allocations: 166.7 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6549, allocations: 390.8 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.6554, allocations: 245.8 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.656, allocations: 0.6504 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6571, allocations: 0.895 MB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.6571, allocations: 11.94 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001694/0.6588, allocations: 1.018 MB / 1.04 GB, free: 10.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6589, allocations: 12 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.6589, allocations: 12 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.6593, allocations: 126.4 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.6599, allocations: 191.7 kB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.6631, allocations: 4.146 MB / 1.044 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.6641, allocations: 122.9 kB / 1.045 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.6642, allocations: 40 kB / 1.045 GB, free: 5.402 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.0003316/0.6645, allocations: 277.4 kB / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6647, allocations: 79.2 kB / 1.045 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.6648, allocations: 76.52 kB / 1.045 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6648, allocations: 7.984 kB / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.6648, allocations: 3.938 kB / 1.045 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6648, allocations: 0 / 1.045 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.6657, allocations: 0.657 MB / 1.046 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6657, allocations: 0 / 1.046 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.6661, allocations: 67.89 kB / 1.046 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.6664, allocations: 102.5 kB / 1.046 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.6664, allocations: 8 kB / 1.046 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.6695, allocations: 4.142 MB / 1.05 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6695, allocations: 4.031 kB / 1.05 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.6706, allocations: 0.733 MB / 1.051 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.671, allocations: 203.9 kB / 1.051 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6711, allocations: 12 kB / 1.051 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.6716, allocations: 23.97 kB / 1.051 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.6716, allocations: 23.91 kB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6717, allocations: 8 kB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009163/0.6726, allocations: 0.6239 MB / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.485e-06/0.6726, allocations: 0 / 1.052 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008955/0.6735, allocations: 275.7 kB / 1.052 GB, free: 13.59 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.0001543/0.6737, allocations: 109.9 kB / 1.052 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.6751, allocations: 0.9275 MB / 1.053 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6751, allocations: 0 / 1.053 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.6758, allocations: 0.5248 MB / 1.053 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.6767, allocations: 179.5 kB / 1.053 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.6795, allocations: 2.011 MB / 1.055 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.6801, allocations: 0.9917 MB / 1.056 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6803, allocations: 55.42 kB / 1.056 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.6803, allocations: 0 / 1.056 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of Templates: time 0.02191/0.7023, allocations: 17.56 MB / 1.074 GB, free: 7.113 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