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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.9e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006161/0.00619, allocations: 3.47 MB / 0.8809 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.01156, allocations: 2.419 MB / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006528/0.01221, allocations: 19.81 kB / 0.8833 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.01324, allocations: 246.3 kB / 0.8836 GB, free: 372 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.0149, allocations: 0.5508 MB / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.01654, allocations: 0.5726 MB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.01872, allocations: 1.437 MB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.01901, allocations: 93.72 kB / 0.8861 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.02038, allocations: 0.6002 MB / 0.8867 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.02125, allocations: 422.8 kB / 0.8871 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.02141, allocations: 56 kB / 0.8872 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.02165, allocations: 60 kB / 0.8872 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.02219, allocations: 410.9 kB / 0.8876 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005538/0.02275, allocations: 323.2 kB / 0.8879 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.02426, allocations: 0.9343 MB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02427, allocations: 0 / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02427, allocations: 4 kB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.0243, allocations: 0 / 0.8889 GB, free: 10.91 MB / 0.8542 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.002919/0.02722, allocations: 1.224 MB / 0.8901 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.02726, allocations: 12.03 kB / 0.8901 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.02772, allocations: 136.3 kB / 0.8902 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.02913, allocations: 0.6332 MB / 0.8908 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.02918, allocations: 41.03 kB / 0.8909 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.02929, allocations: 56.33 kB / 0.8909 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.03008, allocations: 415.5 kB / 0.8913 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.0301, allocations: 192 / 0.8913 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.03014, allocations: 15.94 kB / 0.8913 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.03015, allocations: 12 kB / 0.8913 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.03067, allocations: 238.4 kB / 0.8916 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.03411, allocations: 1.836 MB / 0.8934 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.03572, allocations: 0.5231 MB / 0.8939 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.03601, allocations: 145.3 kB / 0.894 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.03604, allocations: 8 kB / 0.894 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.03607, allocations: 34.56 kB / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.03608, allocations: 0 / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.001786/0.03786, allocations: 0.6732 MB / 0.8947 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.03792, allocations: 55.41 kB / 0.8948 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.03977, allocations: 0.9308 MB / 0.8957 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.03984, allocations: 41.7 kB / 0.8957 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.04026, allocations: 369.2 kB / 0.8961 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.04044, allocations: 123 kB / 0.8962 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.04074, allocations: 166.6 kB / 0.8963 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002959/0.04104, allocations: 394.8 kB / 0.8967 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.04154, allocations: 241.8 kB / 0.8969 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.0425, allocations: 0.6469 MB / 0.8976 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.0439, allocations: 0.8815 MB / 0.8984 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.04391, allocations: 8 kB / 0.8984 GB, free: 500 kB / 0.8542 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00201/0.04592, allocations: 1.061 MB / 0.8995 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.04595, allocations: 8.125 kB / 0.8995 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.04597, allocations: 20 kB / 0.8995 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008165/0.04679, allocations: 150.4 kB / 0.8996 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.0475, allocations: 199.5 kB / 0.8998 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004817/0.05232, allocations: 4.095 MB / 0.9038 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.05349, allocations: 115.2 kB / 0.9039 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.05358, allocations: 44 kB / 0.904 GB, free: 10.47 MB / 0.8698 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.0004723/0.05405, allocations: 269.5 kB / 0.9042 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.05432, allocations: 95.44 kB / 0.9043 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.05451, allocations: 76.42 kB / 0.9044 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.05452, allocations: 11.92 kB / 0.9044 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.05453, allocations: 0 / 0.9044 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.05453, allocations: 0 / 0.9044 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.05545, allocations: 484.8 kB / 0.9049 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.05546, allocations: 0 / 0.9049 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.0558, allocations: 59.94 kB / 0.9049 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006332/0.05644, allocations: 134.4 kB / 0.9051 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.05648, allocations: 15.98 kB / 0.9051 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004454/0.06093, allocations: 4.072 MB / 0.9091 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.06094, allocations: 4.031 kB / 0.9091 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.06232, allocations: 0.7354 MB / 0.9098 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.06269, allocations: 139.2 kB / 0.9099 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.06282, allocations: 8 kB / 0.9099 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.06335, allocations: 28.02 kB / 0.91 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.06344, allocations: 27.95 kB / 0.91 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.06346, allocations: 8 kB / 0.91 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001028/0.06449, allocations: 0.6161 MB / 0.9106 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.06449, allocations: 0 / 0.9106 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009906/0.06548, allocations: 271.8 kB / 0.9108 GB, free: 3.07 MB / 0.8698 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.000175/0.06566, allocations: 115.2 kB / 0.911 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.06734, allocations: 0.8969 MB / 0.9118 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.06734, allocations: 0 / 0.9118 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.06812, allocations: 0.5196 MB / 0.9123 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.06907, allocations: 171.2 kB / 0.9125 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.07194, allocations: 1.582 MB / 0.914 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.07245, allocations: 396.4 kB / 0.9144 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.07289, allocations: 145.6 kB / 0.9146 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.07306, allocations: 52.5 kB / 0.9146 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of SimCode: time 1.103e-06/0.07306, allocations: 0 / 0.9146 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.02271/0.09578, allocations: 10.77 MB / 0.9251 GB, free: 4.504 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.779963381006382]