Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.002227/0.002227, allocations: 85.48 kB / 19.44 MB, free: 344 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.002742/0.002742, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.569/3.569, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.14e-05, allocations: 9.547 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004808/0.00484, allocations: 2.764 MB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004728/0.009567, allocations: 2.784 MB / 0.8828 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.009774, allocations: 7.938 kB / 0.8828 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.01134, allocations: 497.9 kB / 0.8833 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006639/0.012, allocations: 298.6 kB / 0.8836 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.01304, allocations: 422.7 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.01515, allocations: 1.548 MB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.01534, allocations: 66.42 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009814/0.01632, allocations: 0.6044 MB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.01728, allocations: 411 kB / 0.8865 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01739, allocations: 48 kB / 0.8866 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.01756, allocations: 56 kB / 0.8866 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.01795, allocations: 303.2 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.01832, allocations: 247.4 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01944, allocations: 0.9153 MB / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.01945, allocations: 0 / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01945, allocations: 0 / 0.8881 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.01946, allocations: 3.938 kB / 0.8881 GB, free: 11.77 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002446/0.0219, allocations: 1.269 MB / 0.8893 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.02194, allocations: 8.031 kB / 0.8893 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.02222, allocations: 100.5 kB / 0.8894 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.02341, allocations: 0.5895 MB / 0.89 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.02344, allocations: 28.88 kB / 0.89 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.02352, allocations: 44.33 kB / 0.8901 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.02406, allocations: 295.6 kB / 0.8903 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.02407, allocations: 192 / 0.8903 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.0241, allocations: 16.12 kB / 0.8904 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.02412, allocations: 8 kB / 0.8904 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.02442, allocations: 125.8 kB / 0.8905 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.02755, allocations: 1.95 MB / 0.8924 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.02847, allocations: 275.1 kB / 0.8926 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.02863, allocations: 71.66 kB / 0.8927 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.02865, allocations: 320 / 0.8927 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.02868, allocations: 41.38 kB / 0.8928 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.02868, allocations: 0 / 0.8928 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0008224/0.0295, allocations: 291.3 kB / 0.893 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.02955, allocations: 55.41 kB / 0.8931 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.03127, allocations: 1.042 MB / 0.8941 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.03131, allocations: 33.7 kB / 0.8941 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.03175, allocations: 423.5 kB / 0.8945 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.03186, allocations: 87.36 kB / 0.8946 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.03212, allocations: 164 kB / 0.8948 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004319/0.03255, allocations: 0.6211 MB / 0.8954 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.03277, allocations: 93.23 kB / 0.8955 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.03338, allocations: 0.4973 MB / 0.896 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.03422, allocations: 0.6173 MB / 0.8966 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.03423, allocations: 4 kB / 0.8966 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001039/0.03527, allocations: 0.5374 MB / 0.8971 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.03529, allocations: 8.938 kB / 0.8971 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.0353, allocations: 12 kB / 0.8971 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.03559, allocations: 55.64 kB / 0.8972 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.03607, allocations: 143.7 kB / 0.8973 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.03761, allocations: 1.81 MB / 0.8991 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.03828, allocations: 119.5 kB / 0.8992 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.03832, allocations: 31.98 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.03864, allocations: 280.3 kB / 0.8995 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.03876, allocations: 67.58 kB / 0.8995 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.03888, allocations: 57.8 kB / 0.8996 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.03888, allocations: 4 kB / 0.8996 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.03888, allocations: 0 / 0.8996 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.03889, allocations: 11.91 kB / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.03992, allocations: 0.555 MB / 0.9002 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.03992, allocations: 0 / 0.9002 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.04017, allocations: 39.97 kB / 0.9002 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.04037, allocations: 43.64 kB / 0.9002 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.0404, allocations: 11.98 kB / 0.9003 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.04181, allocations: 1.782 MB / 0.902 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.04181, allocations: 4 kB / 0.902 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.04246, allocations: 445 kB / 0.9024 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.04277, allocations: 107.5 kB / 0.9025 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.04285, allocations: 8 kB / 0.9025 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.04324, allocations: 51.98 kB / 0.9026 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.04329, allocations: 16.09 kB / 0.9026 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.04331, allocations: 4 kB / 0.9026 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000917/0.04422, allocations: 0.6317 MB / 0.9032 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.04422, allocations: 0 / 0.9032 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006325/0.04485, allocations: 187.8 kB / 0.9034 GB, free: 11.13 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001463/0.045, allocations: 115.1 kB / 0.9035 GB, free: 11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008232/0.04582, allocations: 467.9 kB / 0.904 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.04583, allocations: 0 / 0.904 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.04616, allocations: 258 kB / 0.9042 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.04695, allocations: 173.1 kB / 0.9044 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.04897, allocations: 1.222 MB / 0.9056 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.04942, allocations: 368.7 kB / 0.9059 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.04978, allocations: 144.5 kB / 0.906 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.0499, allocations: 36.5 kB / 0.9061 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.0499, allocations: 0 / 0.9061 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of Templates: time 0.01729/0.06719, allocations: 8.743 MB / 0.9146 GB, free: 15.72 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: 9.007186625967734]