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.001831/0.001831, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002105/0.002105, allocations: 165.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.885/2.885, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.694e-06/1.694e-06, allocations: 0 / 1 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.106e-05, allocations: 13.03 kB / 1 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00795/0.007981, allocations: 3.452 MB / 1.003 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.01468, allocations: 2.427 MB / 1.006 GB, free: 324 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006547/0.01533, allocations: 19.81 kB / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.01656, allocations: 250.3 kB / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01858, allocations: 0.5441 MB / 1.007 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.02079, allocations: 0.568 MB / 1.007 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.02305, allocations: 1.433 MB / 1.009 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.02343, allocations: 97.7 kB / 1.009 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.025, allocations: 0.6041 MB / 1.009 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.02571, allocations: 422.8 kB / 1.01 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.02582, allocations: 56 kB / 1.01 GB, free: 12.33 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.02602, allocations: 68 kB / 1.01 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.02651, allocations: 398.9 kB / 1.01 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.02697, allocations: 327.2 kB / 1.01 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.02814, allocations: 0.9343 MB / 1.011 GB, free: 10.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02814, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.223e-06/0.02814, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.02816, allocations: 4 kB / 1.011 GB, free: 10.61 MB / 0.92 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.002539/0.0307, allocations: 1.22 MB / 1.013 GB, free: 9.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.03073, allocations: 19.97 kB / 1.013 GB, free: 9.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.03103, allocations: 112.3 kB / 1.013 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.03217, allocations: 0.6059 MB / 1.013 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.03221, allocations: 37.03 kB / 1.013 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.03231, allocations: 60.31 kB / 1.013 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.03301, allocations: 411.5 kB / 1.014 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.03303, allocations: 192 / 1.014 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.03306, allocations: 19.94 kB / 1.014 GB, free: 8.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.03307, allocations: 11.94 kB / 1.014 GB, free: 8.027 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.03351, allocations: 234.4 kB / 1.014 GB, free: 7.801 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.03648, allocations: 1.828 MB / 1.016 GB, free: 5.906 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.03802, allocations: 0.522 MB / 1.016 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.03829, allocations: 152.8 kB / 1.016 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.03831, allocations: 0 / 1.016 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.03835, allocations: 42.5 kB / 1.017 GB, free: 5.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.03835, allocations: 0 / 1.017 GB, free: 5.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.00173/0.04008, allocations: 0.6481 MB / 1.017 GB, free: 4.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.04014, allocations: 55.41 kB / 1.017 GB, free: 4.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.04149, allocations: 0.9308 MB / 1.018 GB, free: 3.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.04154, allocations: 41.7 kB / 1.018 GB, free: 3.453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.04188, allocations: 381.2 kB / 1.019 GB, free: 3.074 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.04202, allocations: 123 kB / 1.019 GB, free: 2.953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.04227, allocations: 166.6 kB / 1.019 GB, free: 2.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.04251, allocations: 390.8 kB / 1.019 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.04292, allocations: 245.8 kB / 1.019 GB, free: 2.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.0439, allocations: 0.643 MB / 1.02 GB, free: 1.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.0453, allocations: 0.8914 MB / 1.021 GB, free: 240 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.04531, allocations: 7.938 kB / 1.021 GB, free: 232 kB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00177/0.04708, allocations: 1.017 MB / 1.022 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.04711, allocations: 12 kB / 1.022 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.04713, allocations: 12 kB / 1.022 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.04757, allocations: 126.7 kB / 1.022 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.04824, allocations: 187.7 kB / 1.022 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.05255, allocations: 4.094 MB / 1.026 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.05349, allocations: 115.2 kB / 1.026 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.05357, allocations: 40 kB / 1.026 GB, free: 10.3 MB / 0.9356 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.0003421/0.05391, allocations: 277.9 kB / 1.027 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.05404, allocations: 83.44 kB / 1.027 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.05417, allocations: 76.42 kB / 1.027 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.05417, allocations: 3.938 kB / 1.027 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.05418, allocations: 4 kB / 1.027 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.05419, allocations: 3.984 kB / 1.027 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.05487, allocations: 476.8 kB / 1.027 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.05487, allocations: 3.938 kB / 1.027 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.05521, allocations: 59.95 kB / 1.027 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.05553, allocations: 110.5 kB / 1.027 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.05556, allocations: 8 kB / 1.027 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.05936, allocations: 4.068 MB / 1.031 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.05936, allocations: 4 kB / 1.031 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.06059, allocations: 0.7406 MB / 1.032 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.06088, allocations: 135.2 kB / 1.032 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.06098, allocations: 11.98 kB / 1.032 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.0615, allocations: 23.97 kB / 1.032 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.06158, allocations: 27.89 kB / 1.032 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.06159, allocations: 4 kB / 1.032 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009189/0.06251, allocations: 0.6239 MB / 1.033 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.06251, allocations: 0 / 1.033 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008851/0.0634, allocations: 271.8 kB / 1.033 GB, free: 2.938 MB / 0.9356 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.0001571/0.06355, allocations: 107.2 kB / 1.033 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.06507, allocations: 0.9128 MB / 1.034 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.06507, allocations: 0 / 1.034 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.06574, allocations: 0.5115 MB / 1.035 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.06659, allocations: 163.5 kB / 1.035 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.06913, allocations: 1.557 MB / 1.036 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.06957, allocations: 388.4 kB / 1.037 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.06993, allocations: 153.6 kB / 1.037 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.0701, allocations: 48.5 kB / 1.037 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.0701, allocations: 0 / 1.037 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.02699/0.09708, allocations: 10.71 MB / 1.047 GB, free: 4.48 MB / 0.9512 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.507322750985622]