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.0007531/0.0007532, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004891/0.004891, allocations: 169.8 kB / 16.27 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.407/2.407, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 11.94 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7194, allocations: 142.4 MB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003297/0.7227, allocations: 3.375 MB / 0.9583 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.7269, allocations: 2.508 MB / 0.9608 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.7275, allocations: 10.81 kB / 0.9608 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.7284, allocations: 222.1 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.7299, allocations: 466.6 kB / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.7314, allocations: 471.9 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002121/0.7335, allocations: 1.621 MB / 0.9635 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.7338, allocations: 132.4 kB / 0.9636 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.7345, allocations: 380.5 kB / 0.964 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.7353, allocations: 0.5064 MB / 0.9645 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.7355, allocations: 37.03 kB / 0.9645 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.7357, allocations: 38.75 kB / 0.9645 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.736, allocations: 307.9 kB / 0.9648 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007925/0.7368, allocations: 453.7 kB / 0.9653 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.7378, allocations: 0.8955 MB / 0.9661 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7378, allocations: 1.281 kB / 0.9661 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7379, allocations: 0 / 0.9661 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.338e-05/0.7379, allocations: 0 / 0.9661 GB, free: 15.66 MB / 0.7325 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.002486/0.7404, allocations: 1.134 MB / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7404, allocations: 9.5 kB / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.7407, allocations: 102.5 kB / 0.9673 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7419, allocations: 0.6539 MB / 0.968 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.742, allocations: 36.81 kB / 0.968 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.7421, allocations: 57.62 kB / 0.9681 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.7428, allocations: 414 kB / 0.9685 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7428, allocations: 1.188 kB / 0.9685 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.7429, allocations: 16.16 kB / 0.9685 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.7429, allocations: 7.562 kB / 0.9685 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.7433, allocations: 244.7 kB / 0.9687 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.7464, allocations: 2.522 MB / 0.9712 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.7479, allocations: 0.5533 MB / 0.9717 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.7482, allocations: 162.3 kB / 0.9719 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7482, allocations: 2.938 kB / 0.9719 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.7482, allocations: 32.78 kB / 0.9719 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 4.318e-06/0.7482, allocations: 0 / 0.9719 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001706/0.7499, allocations: 0.9068 MB / 0.9728 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.75, allocations: 54.59 kB / 0.9729 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.7515, allocations: 0.927 MB / 0.9738 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.7516, allocations: 39.95 kB / 0.9738 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.7519, allocations: 366.1 kB / 0.9741 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.752, allocations: 114.3 kB / 0.9743 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7521, allocations: 96.34 kB / 0.9743 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7523, allocations: 396.7 kB / 0.9747 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.7527, allocations: 249.1 kB / 0.975 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.7534, allocations: 0.6373 MB / 0.9756 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7544, allocations: 0.8945 MB / 0.9765 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7544, allocations: 4.344 kB / 0.9765 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00167/0.7561, allocations: 1.022 MB / 0.9775 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.7561, allocations: 18.84 kB / 0.9775 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.7562, allocations: 13.59 kB / 0.9775 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.7566, allocations: 125.7 kB / 0.9776 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.7572, allocations: 200.7 kB / 0.9778 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.7606, allocations: 4.15 MB / 0.9819 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.762, allocations: 111 kB / 0.982 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.7621, allocations: 44 kB / 0.982 GB, free: 2.414 MB / 0.7325 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.0004844/0.7626, allocations: 274.3 kB / 0.9823 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.7628, allocations: 78.97 kB / 0.9823 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.7629, allocations: 80.53 kB / 0.9824 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7629, allocations: 4 kB / 0.9824 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.763, allocations: 7.938 kB / 0.9824 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.763, allocations: 3.984 kB / 0.9824 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.764, allocations: 0.653 MB / 0.9831 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.764, allocations: 4 kB / 0.9831 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.7643, allocations: 63.88 kB / 0.9831 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.7647, allocations: 102.5 kB / 0.9832 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.7647, allocations: 12 kB / 0.9832 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.7679, allocations: 4.142 MB / 0.9873 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7679, allocations: 7.969 kB / 0.9873 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.7691, allocations: 0.7408 MB / 0.988 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.7694, allocations: 207.9 kB / 0.9882 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.7695, allocations: 8 kB / 0.9882 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.77, allocations: 31.88 kB / 0.9883 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.7701, allocations: 27.89 kB / 0.9883 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.7701, allocations: 12 kB / 0.9883 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000839/0.771, allocations: 0.6161 MB / 0.9889 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.771, allocations: 0 / 0.9889 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009341/0.7719, allocations: 267.8 kB / 0.9892 GB, free: 10.59 MB / 0.7481 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.0001424/0.7721, allocations: 115.2 kB / 0.9893 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.7735, allocations: 0.9325 MB / 0.9902 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7735, allocations: 0 / 0.9902 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.7741, allocations: 0.5272 MB / 0.9907 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.7751, allocations: 164.6 kB / 0.9908 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.7777, allocations: 2.11 MB / 0.9929 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.7783, allocations: 0.9878 MB / 0.9939 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.7787, allocations: 149.9 kB / 0.994 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.7788, allocations: 51.42 kB / 0.9941 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of SimCode: time 5.21e-07/0.7788, allocations: 0 / 0.9941 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of Templates: time 0.01628/0.7951, allocations: 9.546 MB / 1.003 GB, free: 11.98 MB / 0.7637 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